#8148CF#8148CF
#8148CF is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.199 H 299.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8148CF |
|---|---|
| RGB | rgb(129, 72, 207) |
| HSL | hsl(265, 58%, 55%) |
| HSV | hsv(265, 65%, 81%) |
| CMYK | cmyk(37.7%, 65.2%, 0%, 18.8%) |
| CIE-LAB | lab(43.95, 51.48, -61.05) |
| CIE-LCH | lch(43.95, 79.85, 310.14°) |
| OKLab | oklab(53.93% 0.0962 -0.1739) |
| OKLCH | oklch(53.93% 0.199 299) |
| XYZ | xyz(22.6303, 13.8066, 60.4920) |
| Luminance | 0.1381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.98
Bluish Purple
#703BE7
ΔE00 4.98
Purpley
#8756E4
ΔE00 5.04
Darkorchid
#9932CC
ΔE00 5.39
Bluey Purple
#6241C7
ΔE00 5.77
Light Indigo
#6D5ACF
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8148CF #96CF48
analogous
#4853CF #8148CF #C448CF
triadic
#8148CF #CF8148 #48CF81
tetradic
#8148CF #CF4853 #96CF48 #48CFC4
square
#8148CF #CF4853 #96CF48 #48CFC4
split-complementary
#8148CF #CFC448 #53CF48
monochromatic
#47217C #632DAD #8148CF #A278DC #C4A9E8
Accessibility & contrast
On white
5.58
#8148CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#8148CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8148CF
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8148CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8148CF | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#6F6785
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8148cf; /* rgb */ color: rgb(129, 72, 207); /* oklch */ color: oklch(53.9% 0.199 299.0);
Tailwind
colors: {
custom: {
50: '#ab7ede',
500: '#8148cf',
950: '#000000',
},
}SCSS
$custom: #8148cf; $custom-light: #ab7ede; $custom-dark: #000000;
JSON
{
"hex": "#8148cf",
"rgb": {
"r": 129,
"g": 72,
"b": 207
},
"hsl": {
"h": 265.333,
"s": 58.442,
"l": 54.706
},
"oklch": {
"l": 0.53926,
"c": 0.19873,
"h": 299
},
"luminance": 0.13807
}Semantic roles & 50–950 ramp
primary
#8148CF
secondary
#BED69D
accent
#E246A0
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83