#8642BE#8642BE
#8642BE is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.5% C 0.189 H 306.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8642BE |
|---|---|
| RGB | rgb(134, 66, 190) |
| HSL | hsl(273, 49%, 50%) |
| HSV | hsv(273, 65%, 75%) |
| CMYK | cmyk(29.5%, 65.3%, 0%, 25.5%) |
| CIE-LAB | lab(42.28, 51.40, -53.86) |
| CIE-LCH | lch(42.28, 74.45, 313.66°) |
| OKLab | oklab(52.48% 0.1113 -0.1526) |
| OKLCH | oklch(52.48% 0.189 306.1) |
| XYZ | xyz(21.0720, 12.6827, 50.0431) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.93
Purply
#983FB2
ΔE00 4.60
Royal Purple
#7851A9
ΔE00 5.49
Blueviolet
#8A2BE2
ΔE00 5.66
Darkviolet
#9400D3
ΔE00 6.68
Bluey Purple
#6241C7
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8642BE #7ABE42
analogous
#4842BE #8642BE #BE42B8
triadic
#8642BE #BE8642 #42BE86
tetradic
#8642BE #BE4842 #7ABE42 #42B8BE
square
#8642BE #BE4842 #7ABE42 #42B8BE
split-complementary
#8642BE #B8BE42 #42BE48
monochromatic
#462263 #663291 #8642BE #A370CE #C09DDD
Accessibility & contrast
On white
5.94
#8642BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#8642BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8642BE
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8642BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8642BE | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#2364BB
Tritanopia (blue-blind)
#7C5C7A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #8642be; /* rgb */ color: rgb(134, 66, 190); /* oklch */ color: oklch(52.5% 0.189 306.1);
Tailwind
colors: {
custom: {
50: '#ad7bd2',
500: '#8642be',
950: '#000000',
},
}SCSS
$custom: #8642be; $custom-light: #ad7bd2; $custom-dark: #000000;
JSON
{
"hex": "#8642be",
"rgb": {
"r": 134,
"g": 66,
"b": 190
},
"hsl": {
"h": 272.903,
"s": 48.819,
"l": 50.196
},
"oklch": {
"l": 0.52482,
"c": 0.18883,
"h": 306.1
},
"luminance": 0.12682
}Semantic roles & 50–950 ramp
primary
#8642BE
secondary
#ABCA92
accent
#D84F8D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83