#8747CB#8747CB
#8747CB is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.2% C 0.197 H 302.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8747CB |
|---|---|
| RGB | rgb(135, 71, 203) |
| HSL | hsl(269, 56%, 54%) |
| HSV | hsv(269, 65%, 80%) |
| CMYK | cmyk(33.5%, 65%, 0%, 20.4%) |
| CIE-LAB | lab(44.19, 52.24, -58.33) |
| CIE-LCH | lch(44.19, 78.30, 311.85°) |
| OKLab | oklab(54.16% 0.1058 -0.1657) |
| OKLCH | oklch(54.16% 0.197 302.6) |
| XYZ | xyz(23.0219, 13.9691, 57.9718) |
| Luminance | 0.1397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.35
Blueviolet
#8A2BE2
ΔE00 5.08
Purpley
#8756E4
ΔE00 5.52
Bluish Purple
#703BE7
ΔE00 6.06
Purply
#983FB2
ΔE00 6.07
Royal Purple
#7851A9
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8747CB #8BCB47
analogous
#4749CB #8747CB #C947CB
triadic
#8747CB #CB8747 #47CB87
tetradic
#8747CB #CB4749 #8BCB47 #47CBC9
square
#8747CB #CB4749 #8BCB47 #47CBC9
split-complementary
#8747CB #CBC947 #49CB47
monochromatic
#4B2176 #692FA6 #8747CB #A677D8 #C5A6E6
Accessibility & contrast
On white
5.54
#8747CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#8747CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8747CB
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8747CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8747CB | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#1468C8
Tritanopia (blue-blind)
#796483
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8747cb; /* rgb */ color: rgb(135, 71, 203); /* oklch */ color: oklch(54.2% 0.197 302.6);
Tailwind
colors: {
custom: {
50: '#af7edc',
500: '#8747cb',
950: '#000000',
},
}SCSS
$custom: #8747cb; $custom-light: #af7edc; $custom-dark: #000000;
JSON
{
"hex": "#8747cb",
"rgb": {
"r": 135,
"g": 71,
"b": 203
},
"hsl": {
"h": 269.091,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.54162,
"c": 0.19658,
"h": 302.6
},
"luminance": 0.13969
}Semantic roles & 50–950 ramp
primary
#8747CB
secondary
#B8D39B
accent
#DF4996
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83