#8647C2#8647C2
#8647C2 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.186 H 304.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8647C2 |
|---|---|
| RGB | rgb(134, 71, 194) |
| HSL | hsl(271, 50%, 52%) |
| HSV | hsv(271, 63%, 76%) |
| CMYK | cmyk(30.9%, 63.4%, 0%, 23.9%) |
| CIE-LAB | lab(43.46, 49.85, -54.29) |
| CIE-LCH | lch(43.46, 73.70, 312.56°) |
| OKLab | oklab(53.42% 0.1052 -0.1538) |
| OKLCH | oklch(53.42% 0.186 304.4) |
| XYZ | xyz(21.8202, 13.4699, 52.4789) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.42
Purply
#983FB2
ΔE00 5.16
Royal Purple
#7851A9
ΔE00 5.23
Blueviolet
#8A2BE2
ΔE00 5.86
Purpley
#8756E4
ΔE00 6.63
Deep Lavender
#8D5EB7
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8647C2 #83C247
analogous
#4947C2 #8647C2 #C247C0
triadic
#8647C2 #C28647 #47C286
tetradic
#8647C2 #C24947 #83C247 #47C0C2
square
#8647C2 #C24947 #83C247 #47C0C2
split-complementary
#8647C2 #C0C247 #47C249
monochromatic
#48246B #673399 #8647C2 #A475D1 #C2A3E0
Accessibility & contrast
On white
5.68
#8647C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#8647C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8647C2
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8647C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8647C2 | 1.00 | 5.68 | 3.69 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#2567BF
Tritanopia (blue-blind)
#7B617E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8647c2; /* rgb */ color: rgb(134, 71, 194); /* oklch */ color: oklch(53.4% 0.186 304.4);
Tailwind
colors: {
custom: {
50: '#ad7ed5',
500: '#8647c2',
950: '#000000',
},
}SCSS
$custom: #8647c2; $custom-light: #ad7ed5; $custom-dark: #000000;
JSON
{
"hex": "#8647c2",
"rgb": {
"r": 134,
"g": 71,
"b": 194
},
"hsl": {
"h": 270.732,
"s": 50.204,
"l": 51.961
},
"oklch": {
"l": 0.53419,
"c": 0.18636,
"h": 304.4
},
"luminance": 0.1347
}Semantic roles & 50–950 ramp
primary
#8647C2
secondary
#B2CD97
accent
#DA4E92
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83