#8747CC#8747CC
#8747CC is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.2% C 0.198 H 302.3°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #8747CC |
|---|---|
| RGB | rgb(135, 71, 204) |
| HSL | hsl(269, 57%, 54%) |
| HSV | hsv(269, 65%, 80%) |
| CMYK | cmyk(33.8%, 65.2%, 0%, 20%) |
| CIE-LAB | lab(44.26, 52.49, -58.79) |
| CIE-LCH | lch(44.26, 78.81, 311.76°) |
| OKLab | oklab(54.23% 0.1057 -0.167) |
| OKLCH | oklch(54.23% 0.198 302.3) |
| XYZ | xyz(23.1414, 14.0170, 58.6014) |
| Luminance | 0.1402 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.38
Blueviolet
#8A2BE2
ΔE00 5.00
Purpley
#8756E4
ΔE00 5.40
Bluish Purple
#703BE7
ΔE00 5.96
Purply
#983FB2
ΔE00 6.19
Royal Purple
#7851A9
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8747CC #8CCC47
analogous
#474ACC #8747CC #CA47CC
triadic
#8747CC #CC8747 #47CC87
tetradic
#8747CC #CC474A #8CCC47 #47CCCA
square
#8747CC #CC474A #8CCC47 #47CCCA
split-complementary
#8747CC #CCCA47 #4ACC47
monochromatic
#4B2177 #692EA7 #8747CC #A677D9 #C6A7E7
Accessibility & contrast
On white
5.52
#8747CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#8747CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8747CC
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8747CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8747CC | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#1168C9
Tritanopia (blue-blind)
#796483
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8747cc; /* rgb */ color: rgb(135, 71, 204); /* oklch */ color: oklch(54.2% 0.198 302.3);
Tailwind
colors: {
custom: {
50: '#af7edc',
500: '#8747cc',
950: '#000000',
},
}SCSS
$custom: #8747cc; $custom-light: #af7edc; $custom-dark: #000000;
JSON
{
"hex": "#8747cc",
"rgb": {
"r": 135,
"g": 71,
"b": 204
},
"hsl": {
"h": 268.872,
"s": 56.596,
"l": 53.922
},
"oklch": {
"l": 0.54233,
"c": 0.19769,
"h": 302.3
},
"luminance": 0.14017
}Semantic roles & 50–950 ramp
primary
#8747CC
secondary
#B8D49B
accent
#E04897
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83