#8142CE#8142CE
#8142CE is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.205 H 300.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8142CE |
|---|---|
| RGB | rgb(129, 66, 206) |
| HSL | hsl(267, 59%, 53%) |
| HSV | hsv(267, 68%, 81%) |
| CMYK | cmyk(37.4%, 68%, 0%, 19.2%) |
| CIE-LAB | lab(42.79, 54.22, -62.35) |
| CIE-LCH | lch(42.79, 82.63, 311.01°) |
| OKLab | oklab(53.07% 0.1027 -0.1777) |
| OKLCH | oklch(53.07% 0.205 300) |
| XYZ | xyz(22.1393, 13.0196, 59.7272) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.00
Bluish Purple
#703BE7
ΔE00 4.56
Darkorchid
#9932CC
ΔE00 4.67
Bluey Purple
#6241C7
ΔE00 5.38
Burple
#6832E3
ΔE00 5.77
Violet (survey)
#9A0EEA
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8142CE #8FCE42
analogous
#4249CE #8142CE #C742CE
triadic
#8142CE #CE8142 #42CE81
tetradic
#8142CE #CE4249 #8FCE42 #42CEC7
square
#8142CE #CE4249 #8FCE42 #42CEC7
split-complementary
#8142CE #CEC742 #49CE42
monochromatic
#461F77 #632BA7 #8142CE #A173DB #C2A3E7
Accessibility & contrast
On white
5.83
#8142CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#8142CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8142CE
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8142CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8142CE | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#706383
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8142ce; /* rgb */ color: rgb(129, 66, 206); /* oklch */ color: oklch(53.1% 0.205 300.0);
Tailwind
colors: {
custom: {
50: '#ab7bde',
500: '#8142ce',
950: '#000000',
},
}SCSS
$custom: #8142ce; $custom-light: #ab7bde; $custom-dark: #000000;
JSON
{
"hex": "#8142ce",
"rgb": {
"r": 129,
"g": 66,
"b": 206
},
"hsl": {
"h": 267,
"s": 58.824,
"l": 53.333
},
"oklch": {
"l": 0.53069,
"c": 0.20525,
"h": 300
},
"luminance": 0.1302
}Semantic roles & 50–950 ramp
primary
#8142CE
secondary
#B9D498
accent
#E2469C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83