#8142BF#8142BF
#8142BF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.0% C 0.189 H 303.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8142BF |
|---|---|
| RGB | rgb(129, 66, 191) |
| HSL | hsl(270, 49%, 50%) |
| HSV | hsv(270, 65%, 75%) |
| CMYK | cmyk(32.5%, 65.4%, 0%, 25.1%) |
| CIE-LAB | lab(41.73, 50.55, -55.37) |
| CIE-LCH | lch(41.73, 74.97, 312.40°) |
| OKLab | oklab(51.97% 0.1045 -0.1572) |
| OKLCH | oklch(51.97% 0.189 303.6) |
| XYZ | xyz(20.4033, 12.3252, 50.5842) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.58
Royal Purple
#7851A9
ΔE00 5.42
Blueviolet
#8A2BE2
ΔE00 5.46
Purply
#983FB2
ΔE00 5.59
Bluey Purple
#6241C7
ΔE00 5.89
Bluish Purple
#703BE7
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8142BF #80BF42
analogous
#4242BF #8142BF #BF42BE
triadic
#8142BF #BF8142 #42BF81
tetradic
#8142BF #BF4242 #80BF42 #42BEBF
square
#8142BF #BF4242 #80BF42 #42BEBF
split-complementary
#8142BF #BEBF42 #42BF42
monochromatic
#442265 #623292 #8142BF #9F70CE #BE9DDE
Accessibility & contrast
On white
6.06
#8142BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#8142BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8142BF
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8142BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8142BF | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#1762BC
Tritanopia (blue-blind)
#755D7B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8142bf; /* rgb */ color: rgb(129, 66, 191); /* oklch */ color: oklch(52.0% 0.189 303.6);
Tailwind
colors: {
custom: {
50: '#aa7ad3',
500: '#8142bf',
950: '#000000',
},
}SCSS
$custom: #8142bf; $custom-light: #aa7ad3; $custom-dark: #000000;
JSON
{
"hex": "#8142bf",
"rgb": {
"r": 129,
"g": 66,
"b": 191
},
"hsl": {
"h": 270.24,
"s": 49.407,
"l": 50.392
},
"oklch": {
"l": 0.51969,
"c": 0.18871,
"h": 303.6
},
"luminance": 0.12325
}Semantic roles & 50–950 ramp
primary
#8142BF
secondary
#AECA93
accent
#D94F93
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83