#9E47D2#9E47D2
#9E47D2 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.210 H 310.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9E47D2 |
|---|---|
| RGB | rgb(158, 71, 210) |
| HSL | hsl(278, 61%, 55%) |
| HSV | hsv(278, 66%, 82%) |
| CMYK | cmyk(24.8%, 66.2%, 0%, 17.6%) |
| CIE-LAB | lab(47.53, 58.78, -56.81) |
| CIE-LCH | lch(47.53, 81.75, 315.98°) |
| OKLab | oklab(57.34% 0.1354 -0.1605) |
| OKLCH | oklch(57.34% 0.21 310.1) |
| XYZ | xyz(27.9844, 16.4293, 62.6573) |
| Luminance | 0.1643 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.29
Lightish Purple
#A552E6
ΔE00 4.35
Purply
#983FB2
ΔE00 5.55
Vibrant Purple
#AD03DE
ΔE00 6.00
Purpley
#8756E4
ΔE00 6.14
Amethyst
#9B5FC0
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E47D2 #7BD247
analogous
#5847D2 #9E47D2 #D247C1
triadic
#9E47D2 #D29E47 #47D29E
tetradic
#9E47D2 #D25847 #7BD247 #47C1D2
square
#9E47D2 #D25847 #7BD247 #47C1D2
split-complementary
#9E47D2 #C1D247 #47D258
monochromatic
#5B1F7F #7F2BB1 #9E47D2 #B878DE #D2A9EA
Accessibility & contrast
On white
4.90
#9E47D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#9E47D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9E47D2
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E47D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E47D2 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#3372CF
Tritanopia (blue-blind)
#976487
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9e47d2; /* rgb */ color: rgb(158, 71, 210); /* oklch */ color: oklch(57.3% 0.210 310.1);
Tailwind
colors: {
custom: {
50: '#bf80e0',
500: '#9e47d2',
950: '#000000',
},
}SCSS
$custom: #9e47d2; $custom-light: #bf80e0; $custom-dark: #000000;
JSON
{
"hex": "#9e47d2",
"rgb": {
"r": 158,
"g": 71,
"b": 210
},
"hsl": {
"h": 277.554,
"s": 60.699,
"l": 55.098
},
"oklch": {
"l": 0.57339,
"c": 0.20994,
"h": 310.1
},
"luminance": 0.16429
}Semantic roles & 50–950 ramp
primary
#9E47D2
secondary
#B3D89D
accent
#E44480
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83