#845CF3#845CF3
#845CF3 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.215 H 290.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #845CF3 |
|---|---|
| RGB | rgb(132, 92, 243) |
| HSL | hsl(256, 86%, 66%) |
| HSV | hsv(256, 62%, 95%) |
| CMYK | cmyk(45.7%, 62.1%, 0%, 4.7%) |
| CIE-LAB | lab(50.72, 51.00, -70.47) |
| CIE-LCH | lch(50.72, 86.99, 305.89°) |
| OKLab | oklab(59.7% 0.0757 -0.2015) |
| OKLCH | oklch(59.7% 0.215 290.6) |
| XYZ | xyz(29.5160, 19.0298, 86.8946) |
| Luminance | 0.1903 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.85
Mediumslateblue
#7B68EE
ΔE00 3.64
Lighter Purple
#A55AF4
ΔE00 5.75
Light Indigo
#6D5ACF
ΔE00 6.47
Lightish Purple
#A552E6
ΔE00 6.55
Slate Blue
#6A5ACD
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#845CF3 #CBF35C
analogous
#5C7FF3 #845CF3 #CF5CF3
triadic
#845CF3 #F3845C #5CF384
tetradic
#845CF3 #F35C7F #CBF35C #5CF3CF
square
#845CF3 #F35C7F #CBF35C #5CF3CF
split-complementary
#845CF3 #F3CF5C #7FF35C
monochromatic
#3F0FC6 #5923EF #845CF3 #AF95F7 #DACEFB
Accessibility & contrast
On white
4.37
#845CF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#845CF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #845CF3
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##845CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##845CF3 | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#627F9F
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #845cf3; /* rgb */ color: rgb(132, 92, 243); /* oklch */ color: oklch(59.7% 0.215 290.6);
Tailwind
colors: {
custom: {
50: '#af8cf8',
500: '#845cf3',
950: '#000000',
},
}SCSS
$custom: #845cf3; $custom-light: #af8cf8; $custom-dark: #000000;
JSON
{
"hex": "#845cf3",
"rgb": {
"r": 132,
"g": 92,
"b": 243
},
"hsl": {
"h": 255.894,
"s": 86.286,
"l": 65.686
},
"oklch": {
"l": 0.59697,
"c": 0.21527,
"h": 290.6
},
"luminance": 0.19031
}Semantic roles & 50–950 ramp
primary
#845CF3
secondary
#E1EFBC
accent
#E303A7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85