#8747C8#8747C8
#8747C8 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.9% C 0.193 H 303.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8747C8 |
|---|---|
| RGB | rgb(135, 71, 200) |
| HSL | hsl(270, 54%, 53%) |
| HSV | hsv(270, 65%, 78%) |
| CMYK | cmyk(32.5%, 64.5%, 0%, 21.6%) |
| CIE-LAB | lab(43.98, 51.52, -56.92) |
| CIE-LCH | lch(43.98, 76.77, 312.15°) |
| OKLab | oklab(53.95% 0.1061 -0.1615) |
| OKLCH | oklch(53.95% 0.193 303.3) |
| XYZ | xyz(22.6678, 13.8275, 56.1072) |
| Luminance | 0.1383 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.29
Blueviolet
#8A2BE2
ΔE00 5.31
Purply
#983FB2
ΔE00 5.71
Purpley
#8756E4
ΔE00 5.88
Royal Purple
#7851A9
ΔE00 5.94
Bluish Purple
#703BE7
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8747C8 #88C847
analogous
#4747C8 #8747C8 #C747C8
triadic
#8747C8 #C88747 #47C887
tetradic
#8747C8 #C84747 #88C847 #47C8C7
square
#8747C8 #C84747 #88C847 #47C8C7
split-complementary
#8747C8 #C8C747 #47C847
monochromatic
#4A2272 #6830A2 #8747C8 #A676D6 #C4A5E4
Accessibility & contrast
On white
5.58
#8747C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#8747C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8747C8
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8747C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8747C8 | 1.00 | 5.58 | 3.77 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#1C68C5
Tritanopia (blue-blind)
#7A6381
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8747c8; /* rgb */ color: rgb(135, 71, 200); /* oklch */ color: oklch(53.9% 0.193 303.3);
Tailwind
colors: {
custom: {
50: '#ae7ed9',
500: '#8747c8',
950: '#000000',
},
}SCSS
$custom: #8747c8; $custom-light: #ae7ed9; $custom-dark: #000000;
JSON
{
"hex": "#8747c8",
"rgb": {
"r": 135,
"g": 71,
"b": 200
},
"hsl": {
"h": 269.767,
"s": 53.975,
"l": 53.137
},
"oklch": {
"l": 0.5395,
"c": 0.19326,
"h": 303.3
},
"luminance": 0.13828
}Semantic roles & 50–950 ramp
primary
#8747C8
secondary
#B6D19A
accent
#DD4A94
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83