#8142CF#8142CF
#8142CF is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.1% C 0.206 H 299.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8142CF |
|---|---|
| RGB | rgb(129, 66, 207) |
| HSL | hsl(267, 59%, 54%) |
| HSV | hsv(267, 68%, 81%) |
| CMYK | cmyk(37.7%, 68.1%, 0%, 18.8%) |
| CIE-LAB | lab(42.87, 54.47, -62.81) |
| CIE-LCH | lch(42.87, 83.14, 310.93°) |
| OKLab | oklab(53.15% 0.1026 -0.179) |
| OKLCH | oklch(53.15% 0.206 299.8) |
| XYZ | xyz(22.2612, 13.0683, 60.3690) |
| Luminance | 0.1307 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.93
Bluish Purple
#703BE7
ΔE00 4.45
Darkorchid
#9932CC
ΔE00 4.71
Bluey Purple
#6241C7
ΔE00 5.39
Burple
#6832E3
ΔE00 5.71
Purpley
#8756E4
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8142CF #90CF42
analogous
#4249CF #8142CF #C842CF
triadic
#8142CF #CF8142 #42CF81
tetradic
#8142CF #CF4249 #90CF42 #42CFC8
square
#8142CF #CF4249 #90CF42 #42CFC8
split-complementary
#8142CF #CFC842 #49CF42
monochromatic
#471F78 #632BA9 #8142CF #A273DB #C2A4E8
Accessibility & contrast
On white
5.81
#8142CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#8142CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8142CF
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8142CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8142CF | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#6F6383
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8142cf; /* rgb */ color: rgb(129, 66, 207); /* oklch */ color: oklch(53.1% 0.206 299.8);
Tailwind
colors: {
custom: {
50: '#ab7bdf',
500: '#8142cf',
950: '#000000',
},
}SCSS
$custom: #8142cf; $custom-light: #ab7bdf; $custom-dark: #000000;
JSON
{
"hex": "#8142cf",
"rgb": {
"r": 129,
"g": 66,
"b": 207
},
"hsl": {
"h": 266.809,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.53145,
"c": 0.20634,
"h": 299.8
},
"luminance": 0.13069
}Semantic roles & 50–950 ramp
primary
#8142CF
secondary
#BAD598
accent
#E3459C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83