#845EE6#845EE6
#845EE6 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.197 H 292.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #845EE6 |
|---|---|
| RGB | rgb(132, 94, 230) |
| HSL | hsl(257, 73%, 64%) |
| HSV | hsv(257, 59%, 90%) |
| CMYK | cmyk(42.6%, 59.1%, 0%, 9.8%) |
| CIE-LAB | lab(50.24, 46.36, -63.96) |
| CIE-LCH | lch(50.24, 78.99, 305.94°) |
| OKLab | oklab(59.07% 0.0743 -0.1824) |
| OKLCH | oklch(59.07% 0.197 292.2) |
| XYZ | xyz(27.7974, 18.6233, 76.9776) |
| Luminance | 0.1862 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.21
Mediumslateblue
#7B68EE
ΔE00 3.64
Light Indigo
#6D5ACF
ΔE00 5.39
Slate Blue
#6A5ACD
ΔE00 5.97
Lighter Purple
#A55AF4
ΔE00 5.98
Dark Periwinkle
#665FD1
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#845EE6 #C0E65E
analogous
#5E7CE6 #845EE6 #C85EE6
triadic
#845EE6 #E6845E #5EE684
tetradic
#845EE6 #E65E7C #C0E65E #5EE6C8
square
#845EE6 #E65E7C #C0E65E #5EE6C8
split-complementary
#845EE6 #E6C85E #7CE65E
monochromatic
#441BAF #5C29DE #845EE6 #AC93EE #D5C8F6
Accessibility & contrast
On white
4.44
#845EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#845EE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #845EE6
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##845EE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##845EE6 | 1.00 | 4.44 | 4.72 | 4.72 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AEA
Deuteranopia (green-blind)
#0275E3
Tritanopia (blue-blind)
#687C99
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #845ee6; /* rgb */ color: rgb(132, 94, 230); /* oklch */ color: oklch(59.1% 0.197 292.2);
Tailwind
colors: {
custom: {
50: '#ae8def',
500: '#845ee6',
950: '#000000',
},
}SCSS
$custom: #845ee6; $custom-light: #ae8def; $custom-dark: #000000;
JSON
{
"hex": "#845ee6",
"rgb": {
"r": 132,
"g": 94,
"b": 230
},
"hsl": {
"h": 256.765,
"s": 73.118,
"l": 63.529
},
"oklch": {
"l": 0.59065,
"c": 0.19691,
"h": 292.2
},
"luminance": 0.18624
}Semantic roles & 50–950 ramp
primary
#845EE6
secondary
#DBE8B8
accent
#D5109E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84