#8642CD#8642CD
#8642CD is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.6% C 0.205 H 302.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8642CD |
|---|---|
| RGB | rgb(134, 66, 205) |
| HSL | hsl(269, 58%, 53%) |
| HSV | hsv(269, 68%, 80%) |
| CMYK | cmyk(34.6%, 67.8%, 0%, 19.6%) |
| CIE-LAB | lab(43.32, 54.97, -60.89) |
| CIE-LCH | lch(43.32, 82.04, 312.07°) |
| OKLab | oklab(53.56% 0.1097 -0.1732) |
| OKLCH | oklch(53.56% 0.205 302.3) |
| XYZ | xyz(22.7966, 13.3725, 59.1259) |
| Luminance | 0.1337 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.90
Blueviolet
#8A2BE2
ΔE00 4.06
Bluish Purple
#703BE7
ΔE00 5.33
Violet (survey)
#9A0EEA
ΔE00 5.96
Purpley
#8756E4
ΔE00 6.16
Purply
#983FB2
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8642CD #89CD42
analogous
#4243CD #8642CD #CC42CD
triadic
#8642CD #CD8642 #42CD86
tetradic
#8642CD #CD4243 #89CD42 #42CDCC
square
#8642CD #CD4243 #89CD42 #42CDCC
split-complementary
#8642CD #CDCC42 #43CD42
monochromatic
#491F76 #682CA6 #8642CD #A572DA #C4A3E7
Accessibility & contrast
On white
5.71
#8642CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#8642CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8642CD
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8642CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8642CD | 1.00 | 5.71 | 3.67 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#776282
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8642cd; /* rgb */ color: rgb(134, 66, 205); /* oklch */ color: oklch(53.6% 0.205 302.3);
Tailwind
colors: {
custom: {
50: '#ae7bdd',
500: '#8642cd',
950: '#000000',
},
}SCSS
$custom: #8642cd; $custom-light: #ae7bdd; $custom-dark: #000000;
JSON
{
"hex": "#8642cd",
"rgb": {
"r": 134,
"g": 66,
"b": 205
},
"hsl": {
"h": 269.353,
"s": 58.159,
"l": 53.137
},
"oklch": {
"l": 0.53556,
"c": 0.20504,
"h": 302.3
},
"luminance": 0.13373
}Semantic roles & 50–950 ramp
primary
#8642CD
secondary
#B6D397
accent
#E14696
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83