#8148CE#8148CE
#8148CE is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.198 H 299.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #8148CE |
|---|---|
| RGB | rgb(129, 72, 206) |
| HSL | hsl(266, 58%, 55%) |
| HSV | hsv(266, 65%, 81%) |
| CMYK | cmyk(37.4%, 65%, 0%, 19.2%) |
| CIE-LAB | lab(43.88, 51.22, -60.58) |
| CIE-LCH | lch(43.88, 79.34, 310.21°) |
| OKLab | oklab(53.85% 0.0963 -0.1725) |
| OKLCH | oklch(53.85% 0.198 299.2) |
| XYZ | xyz(22.5084, 13.7578, 59.8502) |
| Luminance | 0.1376 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 5.03
Bluish Purple
#703BE7
ΔE00 5.08
Purpley
#8756E4
ΔE00 5.14
Darkorchid
#9932CC
ΔE00 5.35
Bluey Purple
#6241C7
ΔE00 5.76
Light Indigo
#6D5ACF
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8148CE #95CE48
analogous
#4852CE #8148CE #C448CE
triadic
#8148CE #CE8148 #48CE81
tetradic
#8148CE #CE4852 #95CE48 #48CEC4
square
#8148CE #CE4852 #95CE48 #48CEC4
split-complementary
#8148CE #CEC448 #52CE48
monochromatic
#47217B #632EAB #8148CE #A278DB #C3A9E8
Accessibility & contrast
On white
5.60
#8148CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#8148CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8148CE
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8148CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8148CE | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#6F6685
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8148ce; /* rgb */ color: rgb(129, 72, 206); /* oklch */ color: oklch(53.9% 0.198 299.2);
Tailwind
colors: {
custom: {
50: '#ab7ede',
500: '#8148ce',
950: '#000000',
},
}SCSS
$custom: #8148ce; $custom-light: #ab7ede; $custom-dark: #000000;
JSON
{
"hex": "#8148ce",
"rgb": {
"r": 129,
"g": 72,
"b": 206
},
"hsl": {
"h": 265.522,
"s": 57.759,
"l": 54.51
},
"oklch": {
"l": 0.53852,
"c": 0.19759,
"h": 299.2
},
"luminance": 0.13758
}Semantic roles & 50–950 ramp
primary
#8148CE
secondary
#BDD59D
accent
#E1479F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83