Violet 5
violet-5 · #845EF7
HEX
#845EF7
RGB
rgb(132, 94, 247)
CMYK
cmyk(47%, 62%, 0%, 3%)
HSL
hsl(255, 91%, 67%)
LAB
lab(51.4, 51.0, -71.6)
What is Violet 5?
Violet 5 is the violet-5 reference in the Open Color. Its sRGB value is #845EF7 (rgb 132, 94, 247). It sits in the purple family. Open Color, an open-source color palette by Heeyeun designed for UI work. 13 hues across 10 shades (0 to 9) tuned for screen legibility and accessibility. See disclaimer for accuracy and trademark notes.
Accessibility
WCAG 2.1 contrast checks for Violet 5 as a background.
Black text on this color
White text on this color
Shades, tints & tonal scale of Violet 5
An 11-step tonal scale derived from Violet 5 (#845EF7). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.
50
#F5F2FE
#F5F2FE
100
#EBE5FE
#EBE5FE
200
#D8CBFC
#D8CBFC
300
#C2AFFB
#C2AFFB
400
#A386F9
#A386F9
500
#845EF7
#845EF7
600
#7050D2
#7050D2
700
#563DA1
#563DA1
800
#3B2A6F
#3B2A6F
900
#21183E
#21183E
950
#100B1E
#100B1E
Lighter tints (mixed with white)
15%
#9F88F8
30%
#B5A5F9
45%
#C8BDFB
60%
#D9D2FC
75%
#E8E4FD
Darker shades (mixed with black)
15%
#7A57E6
30%
#704FD3
45%
#6446BD
60%
#563CA4
75%
#442F84
Color harmonies for Violet 5
Classic color-theory harmonies derived from rotating the hue of Violet 5. Use these to build accent palettes, brand systems, and accessible UI color pairings.
Complementary
180° opposite — strongest contrast
#845EF7
#845EF7
#D1F75E
#D1F75E
Triadic
Three colors 120° apart
#845EF7
#845EF7
#F7855E
#F7855E
#5EF785
#5EF785
Analogous
Two neighbors ±30° on the wheel
#5E85F7
#5E85F7
#845EF7
#845EF7
#D15EF7
#D15EF7
Split-complementary
Base + two colors flanking its complement
#845EF7
#845EF7
#F7D15E
#F7D15E
#85F75E
#85F75E
Tetradic
Two complementary pairs
#845EF7
#845EF7
#F75ED1
#F75ED1
#D1F75E
#D1F75E
#5EF785
#5EF785
Square
Four colors evenly spaced 90° apart
#845EF7
#845EF7
#F75E85
#F75E85
#D1F75E
#D1F75E
#5EF7D1
#5EF7D1
Violet 5 in every color space
Full conversion of Violet 5 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.
HEX
#845EF7
RGB
rgb(132, 94, 247)
CMYK
cmyk(47%, 62%, 0%, 3%)
HSL
hsl(255, 91%, 67%)
HSV
hsv(255, 62%, 97%)
HWB
hwb(255 37% 3%)
CIE Lab
lab(51.4 51.0 -71.6)
OKLCH
oklch(60.3% 0.218 289.7)
XYZ (D65)
xyz(30.30, 19.63, 90.17)
Copy-ready code for Violet 5
Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.
CSS
color: #845EF7;
background-color: #845EF7;CSS variable
:root {
--color-violet-5: #845EF7;
}Tailwind config
// tailwind.config.js
colors: {
'violet-5': '#845EF7',
}Sass
$color-violet-5: #845EF7;Swift UIColor
UIColor(red: 0.518, green: 0.369, blue: 0.969, alpha: 1.0)Android XML
<color name="violet-5">#845EF7</color>Closest match in every color system
The nearest Violet 5 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.
Closest in Open Color
Top 6 ΔE2000-closest entries within the same collection.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 7000
#7E8B92
Squirrel grey
RAL 5014
#606E8C
Pigeon blue
RAL 5023
#49678D
Distant blue
RAL 7001
#8F999F
Silver grey
RAL 5007
#3E5F8A
Brilliant blue
RAL 5012
#3B83BD
Light blue
FAQ about Violet 5
What is the HEX code for Violet 5?
Violet 5 (violet-5) has the HEX code #845EF7. In RGB it is rgb(132, 94, 247), and in CMYK it is cmyk(47%, 62%, 0%, 3%).
What is the OKLCH value of Violet 5?
Violet 5 converts to oklch(0.603 0.218 289.7). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.
Is Violet 5 accessible for body text?
Used as a background, Violet 5 has a contrast ratio of 4.93:1 with black text and 4.26:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.
What is the closest Pantone to Violet 5?
The closest Pantone reference to Violet 5 by ΔE2000 perceptual distance is Pantone 814 C (#9A66BF). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.
What is the closest RAL color to Violet 5?
The closest RAL Classic reference to Violet 5 by ΔE2000 distance is RAL 7000 (Squirrel grey, #7E8B92). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.
What is the complementary color of Violet 5?
The complementary color (180° opposite on the HSL color wheel) of Violet 5 is #D1F75E. Use it for high-contrast accents, error states, or call-to-action pairings.
Data provenance & source
Open Color (Yeun)
Open Color, an open-source color palette by Heeyeun designed for UI designers and developers. 13 hues across 10 shades. Use as a designer-friendly palette alternative to Tailwind. Values are intentionally chosen for UI legibility and accessibility.
- Source type
- derived
- Confidence
- high
- License
- MIT
- Last reviewed
- 2026-05-24
Workflow tags
Open Color values are tuned for digital UI. For print, treat as a starting point and proof against the substrate.