#8148E2#8148E2
#8148E2 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.4% C 0.220 H 295.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8148E2 |
|---|---|
| RGB | rgb(129, 72, 226) |
| HSL | hsl(262, 73%, 58%) |
| HSV | hsv(262, 68%, 89%) |
| CMYK | cmyk(42.9%, 68.1%, 0%, 11.4%) |
| CIE-LAB | lab(45.35, 56.33, -69.65) |
| CIE-LCH | lch(45.35, 89.58, 308.97°) |
| OKLab | oklab(55.36% 0.0937 -0.1992) |
| OKLCH | oklch(55.36% 0.22 295.2) |
| XYZ | xyz(25.0944, 14.7922, 73.4698) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.67
Bluish Purple
#703BE7
ΔE00 4.00
Blueviolet
#8A2BE2
ΔE00 4.84
Purpleish Blue
#6140EF
ΔE00 5.26
Light Indigo
#6D5ACF
ΔE00 6.02
Burple
#6832E3
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8148E2 #A9E248
analogous
#485CE2 #8148E2 #CE48E2
triadic
#8148E2 #E28148 #48E281
tetradic
#8148E2 #E2485C #A9E248 #48E2CE
square
#8148E2 #E2485C #A9E248 #48E2CE
split-complementary
#8148E2 #E2CE48 #5CE248
monochromatic
#471898 #6020CC #8148E2 #A57DEA #CAB2F3
Accessibility & contrast
On white
5.30
#8148E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#8148E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8148E2
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8148E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8148E2 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#676E90
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8148e2; /* rgb */ color: rgb(129, 72, 226); /* oklch */ color: oklch(55.4% 0.220 295.2);
Tailwind
colors: {
custom: {
50: '#ad7fec',
500: '#8148e2',
950: '#000000',
},
}SCSS
$custom: #8148e2; $custom-light: #ad7fec; $custom-dark: #000000;
JSON
{
"hex": "#8148e2",
"rgb": {
"r": 129,
"g": 72,
"b": 226
},
"hsl": {
"h": 262.208,
"s": 72.642,
"l": 58.431
},
"oklch": {
"l": 0.55363,
"c": 0.22011,
"h": 295.2
},
"luminance": 0.14793
}Semantic roles & 50–950 ramp
primary
#8148E2
secondary
#CBE1A4
accent
#EF38AC
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84