#8147E2#8147E2
#8147E2 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.2% C 0.221 H 295.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #8147E2 |
|---|---|
| RGB | rgb(129, 71, 226) |
| HSL | hsl(262, 73%, 58%) |
| HSV | hsv(262, 69%, 89%) |
| CMYK | cmyk(42.9%, 68.6%, 0%, 11.4%) |
| CIE-LAB | lab(45.17, 56.82, -69.94) |
| CIE-LCH | lch(45.17, 90.11, 309.09°) |
| OKLab | oklab(55.24% 0.0947 -0.2) |
| OKLCH | oklch(55.24% 0.221 295.3) |
| XYZ | xyz(25.0303, 14.6640, 73.4484) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.84
Purpley
#8756E4
ΔE00 3.88
Blueviolet
#8A2BE2
ΔE00 4.63
Purpleish Blue
#6140EF
ΔE00 5.18
Burple
#6832E3
ΔE00 6.00
Light Indigo
#6D5ACF
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8147E2 #A8E247
analogous
#475AE2 #8147E2 #CF47E2
triadic
#8147E2 #E28147 #47E281
tetradic
#8147E2 #E2475A #A8E247 #47E2CF
square
#8147E2 #E2475A #A8E247 #47E2CF
split-complementary
#8147E2 #E2CF47 #5AE247
monochromatic
#471897 #6020CC #8147E2 #A57CEA #C9B1F3
Accessibility & contrast
On white
5.34
#8147E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#8147E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8147E2
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8147E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8147E2 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#676D8F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8147e2; /* rgb */ color: rgb(129, 71, 226); /* oklch */ color: oklch(55.2% 0.221 295.3);
Tailwind
colors: {
custom: {
50: '#ad7eec',
500: '#8147e2',
950: '#000000',
},
}SCSS
$custom: #8147e2; $custom-light: #ad7eec; $custom-dark: #000000;
JSON
{
"hex": "#8147e2",
"rgb": {
"r": 129,
"g": 71,
"b": 226
},
"hsl": {
"h": 262.452,
"s": 72.77,
"l": 58.235
},
"oklch": {
"l": 0.55236,
"c": 0.22128,
"h": 295.3
},
"luminance": 0.14665
}Semantic roles & 50–950 ramp
primary
#8147E2
secondary
#CAE1A4
accent
#EF38AB
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84