#8642BF#8642BF
#8642BF is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.6% C 0.190 H 305.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8642BF |
|---|---|
| RGB | rgb(134, 66, 191) |
| HSL | hsl(273, 49%, 50%) |
| HSV | hsv(273, 65%, 75%) |
| CMYK | cmyk(29.8%, 65.4%, 0%, 25.1%) |
| CIE-LAB | lab(42.35, 51.64, -54.34) |
| CIE-LCH | lch(42.35, 74.96, 313.54°) |
| OKLab | oklab(52.55% 0.1112 -0.154) |
| OKLCH | oklch(52.55% 0.19 305.8) |
| XYZ | xyz(21.1817, 12.7265, 50.6207) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.88
Purply
#983FB2
ΔE00 4.70
Blueviolet
#8A2BE2
ΔE00 5.53
Royal Purple
#7851A9
ΔE00 5.57
Darkviolet
#9400D3
ΔE00 6.64
Bluey Purple
#6241C7
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8642BF #7BBF42
analogous
#4742BF #8642BF #BF42B9
triadic
#8642BF #BF8642 #42BF86
tetradic
#8642BF #BF4742 #7BBF42 #42B9BF
square
#8642BF #BF4742 #7BBF42 #42B9BF
split-complementary
#8642BF #B9BF42 #42BF47
monochromatic
#462265 #663292 #8642BF #A370CE #C19DDE
Accessibility & contrast
On white
5.92
#8642BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#8642BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8642BF
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8642BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8642BF | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#2264BC
Tritanopia (blue-blind)
#7C5D7B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8642bf; /* rgb */ color: rgb(134, 66, 191); /* oklch */ color: oklch(52.6% 0.190 305.8);
Tailwind
colors: {
custom: {
50: '#ad7bd3',
500: '#8642bf',
950: '#000000',
},
}SCSS
$custom: #8642bf; $custom-light: #ad7bd3; $custom-dark: #000000;
JSON
{
"hex": "#8642bf",
"rgb": {
"r": 134,
"g": 66,
"b": 191
},
"hsl": {
"h": 272.64,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.52551,
"c": 0.18991,
"h": 305.8
},
"luminance": 0.12726
}Semantic roles & 50–950 ramp
primary
#8642BF
secondary
#ACCA93
accent
#D94F8E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83