#8642BA#8642BA
#8642BA is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.2% C 0.184 H 307.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8642BA |
|---|---|
| RGB | rgb(134, 66, 186) |
| HSL | hsl(274, 48%, 49%) |
| HSV | hsv(274, 65%, 73%) |
| CMYK | cmyk(28%, 64.5%, 0%, 27.1%) |
| CIE-LAB | lab(42.02, 50.47, -51.95) |
| CIE-LCH | lch(42.02, 72.43, 314.17°) |
| OKLab | oklab(52.21% 0.1116 -0.1469) |
| OKLCH | oklch(52.21% 0.185 307.2) |
| XYZ | xyz(20.6408, 12.5102, 47.7722) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.16
Purply
#983FB2
ΔE00 4.21
Royal Purple
#7851A9
ΔE00 5.21
Blueviolet
#8A2BE2
ΔE00 6.20
Darkviolet
#9400D3
ΔE00 6.89
Bluey Purple
#6241C7
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8642BA #76BA42
analogous
#4A42BA #8642BA #BA42B2
triadic
#8642BA #BA8642 #42BA86
tetradic
#8642BA #BA4A42 #76BA42 #42B2BA
square
#8642BA #BA4A42 #76BA42 #42B2BA
split-complementary
#8642BA #B2BA42 #42BA4A
monochromatic
#452260 #65328D #8642BA #A36ECB #C09BDB
Accessibility & contrast
On white
6.00
#8642BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#8642BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8642BA
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8642BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8642BA | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#2964B7
Tritanopia (blue-blind)
#7E5B78
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8642ba; /* rgb */ color: rgb(134, 66, 186); /* oklch */ color: oklch(52.2% 0.184 307.2);
Tailwind
colors: {
custom: {
50: '#ad7bcf',
500: '#8642ba',
950: '#000000',
},
}SCSS
$custom: #8642ba; $custom-light: #ad7bcf; $custom-dark: #000000;
JSON
{
"hex": "#8642ba",
"rgb": {
"r": 134,
"g": 66,
"b": 186
},
"hsl": {
"h": 274,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.52206,
"c": 0.1845,
"h": 307.2
},
"luminance": 0.1251
}Semantic roles & 50–950 ramp
primary
#8642BA
secondary
#A8C890
accent
#D7518B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82