#8947CB#8947CB
#8947CB is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.4% C 0.197 H 303.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8947CB |
|---|---|
| RGB | rgb(137, 71, 203) |
| HSL | hsl(270, 56%, 54%) |
| HSV | hsv(270, 65%, 80%) |
| CMYK | cmyk(32.5%, 65%, 0%, 20.4%) |
| CIE-LAB | lab(44.43, 52.67, -57.93) |
| CIE-LCH | lch(44.43, 78.29, 312.28°) |
| OKLab | oklab(54.39% 0.1085 -0.1644) |
| OKLCH | oklch(54.39% 0.197 303.4) |
| XYZ | xyz(23.3468, 14.1367, 57.9870) |
| Luminance | 0.1414 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.14
Blueviolet
#8A2BE2
ΔE00 5.15
Purpley
#8756E4
ΔE00 5.53
Purply
#983FB2
ΔE00 5.81
Bluish Purple
#703BE7
ΔE00 6.35
Royal Purple
#7851A9
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8947CB #89CB47
analogous
#4747CB #8947CB #CB47CB
triadic
#8947CB #CB8947 #47CB89
tetradic
#8947CB #CB4747 #89CB47 #47CBCB
square
#8947CB #CB4747 #89CB47 #47CBCB
split-complementary
#8947CB #CBCB47 #47CB47
monochromatic
#4C2176 #6A2FA6 #8947CB #A877D8 #C6A6E6
Accessibility & contrast
On white
5.49
#8947CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#8947CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8947CB
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8947CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8947CB | 1.00 | 5.49 | 3.83 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#1969C8
Tritanopia (blue-blind)
#7C6483
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8947cb; /* rgb */ color: rgb(137, 71, 203); /* oklch */ color: oklch(54.4% 0.197 303.4);
Tailwind
colors: {
custom: {
50: '#b07edc',
500: '#8947cb',
950: '#000000',
},
}SCSS
$custom: #8947cb; $custom-light: #b07edc; $custom-dark: #000000;
JSON
{
"hex": "#8947cb",
"rgb": {
"r": 137,
"g": 71,
"b": 203
},
"hsl": {
"h": 270,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.54388,
"c": 0.197,
"h": 303.4
},
"luminance": 0.14137
}Semantic roles & 50–950 ramp
primary
#8947CB
secondary
#B7D39B
accent
#DF4994
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83