#8147CB#8147CB
#8147CB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.196 H 300.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8147CB |
|---|---|
| RGB | rgb(129, 71, 203) |
| HSL | hsl(266, 56%, 54%) |
| HSV | hsv(266, 65%, 80%) |
| CMYK | cmyk(36.5%, 65%, 0%, 20.4%) |
| CIE-LAB | lab(43.49, 50.98, -59.50) |
| CIE-LCH | lch(43.49, 78.35, 310.59°) |
| OKLab | oklab(53.5% 0.0977 -0.1693) |
| OKLCH | oklch(53.5% 0.196 300) |
| XYZ | xyz(22.0833, 13.4852, 57.9278) |
| Luminance | 0.1348 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 5.03
Darkorchid
#9932CC
ΔE00 5.12
Bluish Purple
#703BE7
ΔE00 5.28
Purpley
#8756E4
ΔE00 5.63
Bluey Purple
#6241C7
ΔE00 5.68
Royal Purple
#7851A9
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8147CB #91CB47
analogous
#474FCB #8147CB #C347CB
triadic
#8147CB #CB8147 #47CB81
tetradic
#8147CB #CB474F #91CB47 #47CBC3
square
#8147CB #CB474F #91CB47 #47CBC3
split-complementary
#8147CB #CBC347 #4FCB47
monochromatic
#472176 #632FA6 #8147CB #A277D8 #C2A6E6
Accessibility & contrast
On white
5.68
#8147CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#8147CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8147CB
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8147CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8147CB | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#716583
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8147cb; /* rgb */ color: rgb(129, 71, 203); /* oklch */ color: oklch(53.5% 0.196 300.0);
Tailwind
colors: {
custom: {
50: '#ab7edc',
500: '#8147cb',
950: '#000000',
},
}SCSS
$custom: #8147cb; $custom-light: #ab7edc; $custom-dark: #000000;
JSON
{
"hex": "#8147cb",
"rgb": {
"r": 129,
"g": 71,
"b": 203
},
"hsl": {
"h": 266.364,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.53499,
"c": 0.1955,
"h": 300
},
"luminance": 0.13485
}Semantic roles & 50–950 ramp
primary
#8147CB
secondary
#BAD39B
accent
#DF499D
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83