#8047C8#8047C8
#8047C8 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.192 H 300.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #8047C8 |
|---|---|
| RGB | rgb(128, 71, 200) |
| HSL | hsl(267, 54%, 53%) |
| HSV | hsv(267, 65%, 78%) |
| CMYK | cmyk(36%, 64.5%, 0%, 21.6%) |
| CIE-LAB | lab(43.16, 50.02, -58.29) |
| CIE-LCH | lch(43.16, 76.81, 310.63°) |
| OKLab | oklab(53.17% 0.0967 -0.1658) |
| OKLCH | oklch(53.17% 0.192 300.2) |
| XYZ | xyz(21.5781, 13.2656, 56.0561) |
| Luminance | 0.1327 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.20
Blueviolet
#8A2BE2
ΔE00 5.27
Bluish Purple
#703BE7
ΔE00 5.51
Bluey Purple
#6241C7
ΔE00 5.55
Royal Purple
#7851A9
ΔE00 5.76
Purpley
#8756E4
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8047C8 #8FC847
analogous
#474EC8 #8047C8 #C147C8
triadic
#8047C8 #C88047 #47C880
tetradic
#8047C8 #C8474E #8FC847 #47C8C1
square
#8047C8 #C8474E #8FC847 #47C8C1
split-complementary
#8047C8 #C8C147 #4EC847
monochromatic
#462272 #6230A2 #8047C8 #A176D6 #C1A5E4
Accessibility & contrast
On white
5.75
#8047C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#8047C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8047C8
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8047C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8047C8 | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#0665C5
Tritanopia (blue-blind)
#706481
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8047c8; /* rgb */ color: rgb(128, 71, 200); /* oklch */ color: oklch(53.2% 0.192 300.2);
Tailwind
colors: {
custom: {
50: '#aa7ed9',
500: '#8047c8',
950: '#000000',
},
}SCSS
$custom: #8047c8; $custom-light: #aa7ed9; $custom-dark: #000000;
JSON
{
"hex": "#8047c8",
"rgb": {
"r": 128,
"g": 71,
"b": 200
},
"hsl": {
"h": 266.512,
"s": 53.975,
"l": 53.137
},
"oklch": {
"l": 0.53173,
"c": 0.19193,
"h": 300.2
},
"luminance": 0.13266
}Semantic roles & 50–950 ramp
primary
#8047C8
secondary
#B9D19A
accent
#DD4A9C
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83