#8142C1#8142C1
#8142C1 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.191 H 303.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8142C1 |
|---|---|
| RGB | rgb(129, 66, 193) |
| HSL | hsl(270, 51%, 51%) |
| HSV | hsv(270, 66%, 76%) |
| CMYK | cmyk(33.2%, 65.8%, 0%, 24.3%) |
| CIE-LAB | lab(41.87, 51.04, -56.31) |
| CIE-LCH | lch(41.87, 76.00, 312.19°) |
| OKLab | oklab(52.11% 0.1043 -0.1599) |
| OKLCH | oklch(52.11% 0.191 303.1) |
| XYZ | xyz(20.6249, 12.4138, 51.7513) |
| Luminance | 0.1241 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.53
Blueviolet
#8A2BE2
ΔE00 5.23
Royal Purple
#7851A9
ΔE00 5.61
Bluey Purple
#6241C7
ΔE00 5.76
Purply
#983FB2
ΔE00 5.77
Bluish Purple
#703BE7
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8142C1 #82C142
analogous
#4242C1 #8142C1 #C142C1
triadic
#8142C1 #C18142 #42C181
tetradic
#8142C1 #C14242 #82C142 #42C1C1
square
#8142C1 #C14242 #82C142 #42C1C1
split-complementary
#8142C1 #C1C142 #42C142
monochromatic
#442267 #633195 #8142C1 #A070D0 #BE9EDF
Accessibility & contrast
On white
6.03
#8142C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#8142C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8142C1
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8142C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8142C1 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#1262BE
Tritanopia (blue-blind)
#745E7C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8142c1; /* rgb */ color: rgb(129, 66, 193); /* oklch */ color: oklch(52.1% 0.191 303.1);
Tailwind
colors: {
custom: {
50: '#aa7ad4',
500: '#8142c1',
950: '#000000',
},
}SCSS
$custom: #8142c1; $custom-light: #aa7ad4; $custom-dark: #000000;
JSON
{
"hex": "#8142c1",
"rgb": {
"r": 129,
"g": 66,
"b": 193
},
"hsl": {
"h": 269.764,
"s": 50.598,
"l": 50.784
},
"oklch": {
"l": 0.52112,
"c": 0.19093,
"h": 303.1
},
"luminance": 0.12414
}Semantic roles & 50–950 ramp
primary
#8142C1
secondary
#B0CC93
accent
#DA4E94
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83