#8047C6#8047C6
#8047C6 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.190 H 300.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8047C6 |
|---|---|
| RGB | rgb(128, 71, 198) |
| HSL | hsl(267, 53%, 53%) |
| HSV | hsv(267, 64%, 78%) |
| CMYK | cmyk(35.4%, 64.1%, 0%, 22.4%) |
| CIE-LAB | lab(43.02, 49.52, -57.36) |
| CIE-LCH | lch(43.02, 75.77, 310.80°) |
| OKLab | oklab(53.03% 0.0968 -0.1631) |
| OKLCH | oklch(53.03% 0.19 300.7) |
| XYZ | xyz(21.3459, 13.1727, 54.8331) |
| Luminance | 0.1317 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.18
Blueviolet
#8A2BE2
ΔE00 5.43
Royal Purple
#7851A9
ΔE00 5.52
Bluey Purple
#6241C7
ΔE00 5.60
Bluish Purple
#703BE7
ΔE00 5.75
Purpley
#8756E4
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8047C6 #8DC647
analogous
#474EC6 #8047C6 #BF47C6
triadic
#8047C6 #C68047 #47C680
tetradic
#8047C6 #C6474E #8DC647 #47C6BF
square
#8047C6 #C6474E #8DC647 #47C6BF
split-complementary
#8047C6 #C6BF47 #4EC647
monochromatic
#452370 #62319F #8047C6 #A076D4 #C1A4E3
Accessibility & contrast
On white
5.78
#8047C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#8047C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8047C6
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8047C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8047C6 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#0F65C3
Tritanopia (blue-blind)
#716380
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8047c6; /* rgb */ color: rgb(128, 71, 198); /* oklch */ color: oklch(53.0% 0.190 300.7);
Tailwind
colors: {
custom: {
50: '#aa7dd8',
500: '#8047c6',
950: '#000000',
},
}SCSS
$custom: #8047c6; $custom-light: #aa7dd8; $custom-dark: #000000;
JSON
{
"hex": "#8047c6",
"rgb": {
"r": 128,
"g": 71,
"b": 198
},
"hsl": {
"h": 266.929,
"s": 52.697,
"l": 52.745
},
"oklch": {
"l": 0.53029,
"c": 0.18965,
"h": 300.7
},
"luminance": 0.13173
}Semantic roles & 50–950 ramp
primary
#8047C6
secondary
#B7D099
accent
#DC4C9B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83