#8642CE#8642CE
#8642CE is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.6% C 0.206 H 302.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8642CE |
|---|---|
| RGB | rgb(134, 66, 206) |
| HSL | hsl(269, 59%, 53%) |
| HSV | hsv(269, 68%, 81%) |
| CMYK | cmyk(35%, 68%, 0%, 19.2%) |
| CIE-LAB | lab(43.39, 55.21, -61.36) |
| CIE-LCH | lch(43.39, 82.54, 311.98°) |
| OKLab | oklab(53.63% 0.1095 -0.1746) |
| OKLCH | oklch(53.63% 0.206 302.1) |
| XYZ | xyz(22.9177, 13.4209, 59.7637) |
| Luminance | 0.1342 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.94
Blueviolet
#8A2BE2
ΔE00 3.99
Bluish Purple
#703BE7
ΔE00 5.23
Violet (survey)
#9A0EEA
ΔE00 5.90
Purpley
#8756E4
ΔE00 6.06
Bluey Purple
#6241C7
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8642CE #8ACE42
analogous
#4244CE #8642CE #CC42CE
triadic
#8642CE #CE8642 #42CE86
tetradic
#8642CE #CE4244 #8ACE42 #42CECC
square
#8642CE #CE4244 #8ACE42 #42CECC
split-complementary
#8642CE #CECC42 #44CE42
monochromatic
#4A1F77 #682BA7 #8642CE #A573DB #C4A3E7
Accessibility & contrast
On white
5.70
#8642CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#8642CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8642CE
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8642CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8642CE | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#776283
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8642ce; /* rgb */ color: rgb(134, 66, 206); /* oklch */ color: oklch(53.6% 0.206 302.1);
Tailwind
colors: {
custom: {
50: '#af7bde',
500: '#8642ce',
950: '#000000',
},
}SCSS
$custom: #8642ce; $custom-light: #af7bde; $custom-dark: #000000;
JSON
{
"hex": "#8642ce",
"rgb": {
"r": 134,
"g": 66,
"b": 206
},
"hsl": {
"h": 269.143,
"s": 58.824,
"l": 53.333
},
"oklch": {
"l": 0.53629,
"c": 0.20611,
"h": 302.1
},
"luminance": 0.13421
}Semantic roles & 50–950 ramp
primary
#8642CE
secondary
#B7D498
accent
#E24696
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83