#8747C2#8747C2
#8747C2 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.187 H 304.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8747C2 |
|---|---|
| RGB | rgb(135, 71, 194) |
| HSL | hsl(271, 50%, 52%) |
| HSV | hsv(271, 63%, 76%) |
| CMYK | cmyk(30.4%, 63.4%, 0%, 23.9%) |
| CIE-LAB | lab(43.58, 50.08, -54.09) |
| CIE-LCH | lch(43.58, 73.71, 312.80°) |
| OKLab | oklab(53.53% 0.1065 -0.1532) |
| OKLCH | oklch(53.53% 0.187 304.8) |
| XYZ | xyz(21.9804, 13.5525, 52.4864) |
| Luminance | 0.1355 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.31
Purply
#983FB2
ΔE00 5.01
Royal Purple
#7851A9
ΔE00 5.29
Blueviolet
#8A2BE2
ΔE00 5.89
Purpley
#8756E4
ΔE00 6.64
Deep Lavender
#8D5EB7
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8747C2 #82C247
analogous
#4A47C2 #8747C2 #C247BF
triadic
#8747C2 #C28747 #47C287
tetradic
#8747C2 #C24A47 #82C247 #47BFC2
square
#8747C2 #C24A47 #82C247 #47BFC2
split-complementary
#8747C2 #BFC247 #47C24A
monochromatic
#49246B #683399 #8747C2 #A575D1 #C3A3E0
Accessibility & contrast
On white
5.66
#8747C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#8747C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8747C2
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8747C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8747C2 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#2767BF
Tritanopia (blue-blind)
#7C617E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8747c2; /* rgb */ color: rgb(135, 71, 194); /* oklch */ color: oklch(53.5% 0.187 304.8);
Tailwind
colors: {
custom: {
50: '#ae7ed5',
500: '#8747c2',
950: '#000000',
},
}SCSS
$custom: #8747c2; $custom-light: #ae7ed5; $custom-dark: #000000;
JSON
{
"hex": "#8747c2",
"rgb": {
"r": 135,
"g": 71,
"b": 194
},
"hsl": {
"h": 271.22,
"s": 50.204,
"l": 51.961
},
"oklch": {
"l": 0.53534,
"c": 0.1866,
"h": 304.8
},
"luminance": 0.13552
}Semantic roles & 50–950 ramp
primary
#8747C2
secondary
#B1CD97
accent
#DA4E91
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83