#845CF1#845CF1
#845CF1 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.6% C 0.213 H 290.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #845CF1 |
|---|---|
| RGB | rgb(132, 92, 241) |
| HSL | hsl(256, 84%, 65%) |
| HSV | hsv(256, 62%, 95%) |
| CMYK | cmyk(45.2%, 61.8%, 0%, 5.5%) |
| CIE-LAB | lab(50.58, 50.45, -69.58) |
| CIE-LCH | lch(50.58, 85.95, 305.94°) |
| OKLab | oklab(59.55% 0.0758 -0.1989) |
| OKLCH | oklch(59.55% 0.213 290.9) |
| XYZ | xyz(29.2156, 18.9097, 85.3126) |
| Luminance | 0.1891 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.63
Mediumslateblue
#7B68EE
ΔE00 3.66
Lighter Purple
#A55AF4
ΔE00 5.76
Light Indigo
#6D5ACF
ΔE00 6.26
Lightish Purple
#A552E6
ΔE00 6.47
Slate Blue
#6A5ACD
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#845CF1 #C9F15C
analogous
#5C7FF1 #845CF1 #CE5CF1
triadic
#845CF1 #F1845C #5CF184
tetradic
#845CF1 #F15C7F #C9F15C #5CF1CE
square
#845CF1 #F15C7F #C9F15C #5CF1CE
split-complementary
#845CF1 #F1CE5C #7FF15C
monochromatic
#4011C2 #5924EC #845CF1 #AF94F6 #D9CDFB
Accessibility & contrast
On white
4.39
#845CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#845CF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #845CF1
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##845CF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##845CF1 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF6
Deuteranopia (green-blind)
#0075EE
Tritanopia (blue-blind)
#637F9E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #845cf1; /* rgb */ color: rgb(132, 92, 241); /* oklch */ color: oklch(59.6% 0.213 290.9);
Tailwind
colors: {
custom: {
50: '#af8cf7',
500: '#845cf1',
950: '#000000',
},
}SCSS
$custom: #845cf1; $custom-light: #af8cf7; $custom-dark: #000000;
JSON
{
"hex": "#845cf1",
"rgb": {
"r": 132,
"g": 92,
"b": 241
},
"hsl": {
"h": 256.107,
"s": 84.181,
"l": 65.294
},
"oklch": {
"l": 0.5955,
"c": 0.21288,
"h": 290.9
},
"luminance": 0.18911
}Semantic roles & 50–950 ramp
primary
#845CF1
secondary
#E0EEBB
accent
#E105A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85