#8747CE#8747CE
#8747CE is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.4% C 0.200 H 301.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #8747CE |
|---|---|
| RGB | rgb(135, 71, 206) |
| HSL | hsl(268, 58%, 54%) |
| HSV | hsv(268, 66%, 81%) |
| CMYK | cmyk(34.5%, 65.5%, 0%, 19.2%) |
| CIE-LAB | lab(44.40, 52.97, -59.72) |
| CIE-LCH | lch(44.40, 79.83, 311.57°) |
| OKLab | oklab(54.38% 0.1055 -0.1698) |
| OKLCH | oklch(54.38% 0.2 301.9) |
| XYZ | xyz(23.3828, 14.1135, 59.8728) |
| Luminance | 0.1411 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.46
Blueviolet
#8A2BE2
ΔE00 4.88
Purpley
#8756E4
ΔE00 5.18
Bluish Purple
#703BE7
ΔE00 5.76
Purply
#983FB2
ΔE00 6.43
Royal Purple
#7851A9
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8747CE #8ECE47
analogous
#474BCE #8747CE #CA47CE
triadic
#8747CE #CE8747 #47CE87
tetradic
#8747CE #CE474B #8ECE47 #47CECA
square
#8747CE #CE474B #8ECE47 #47CECA
split-complementary
#8747CE #CECA47 #4BCE47
monochromatic
#4B217A #692DAA #8747CE #A777DB #C6A8E8
Accessibility & contrast
On white
5.49
#8747CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#8747CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8747CE
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8747CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8747CE | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#0868CB
Tritanopia (blue-blind)
#786584
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8747ce; /* rgb */ color: rgb(135, 71, 206); /* oklch */ color: oklch(54.4% 0.200 301.9);
Tailwind
colors: {
custom: {
50: '#af7ede',
500: '#8747ce',
950: '#000000',
},
}SCSS
$custom: #8747ce; $custom-light: #af7ede; $custom-dark: #000000;
JSON
{
"hex": "#8747ce",
"rgb": {
"r": 135,
"g": 71,
"b": 206
},
"hsl": {
"h": 268.444,
"s": 57.94,
"l": 54.314
},
"oklch": {
"l": 0.54377,
"c": 0.1999,
"h": 301.9
},
"luminance": 0.14114
}Semantic roles & 50–950 ramp
primary
#8747CE
secondary
#BAD59C
accent
#E14798
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83