#9B47CD#9B47CD
#9B47CD is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.204 H 310.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9B47CD |
|---|---|
| RGB | rgb(155, 71, 205) |
| HSL | hsl(278, 57%, 54%) |
| HSV | hsv(278, 65%, 80%) |
| CMYK | cmyk(24.4%, 65.4%, 0%, 19.6%) |
| CIE-LAB | lab(46.82, 57.04, -55.11) |
| CIE-LCH | lch(46.82, 79.31, 315.99°) |
| OKLab | oklab(56.64% 0.1319 -0.1556) |
| OKLCH | oklch(56.64% 0.204 310.3) |
| XYZ | xyz(26.7881, 15.8834, 59.4004) |
| Luminance | 0.1588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.88
Purply
#983FB2
ΔE00 4.81
Lightish Purple
#A552E6
ΔE00 5.13
Vibrant Purple
#AD03DE
ΔE00 6.11
Amethyst
#9B5FC0
ΔE00 6.22
Purpley
#8756E4
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B47CD #79CD47
analogous
#5847CD #9B47CD #CD47BC
triadic
#9B47CD #CD9B47 #47CD9B
tetradic
#9B47CD #CD5847 #79CD47 #47BCCD
square
#9B47CD #CD5847 #79CD47 #47BCCD
split-complementary
#9B47CD #BCCD47 #47CD58
monochromatic
#582179 #7B2EA9 #9B47CD #B577DA #CFA7E7
Accessibility & contrast
On white
5.03
#9B47CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#9B47CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B47CD
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B47CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B47CD | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#3570CA
Tritanopia (blue-blind)
#946284
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9b47cd; /* rgb */ color: rgb(155, 71, 205); /* oklch */ color: oklch(56.6% 0.204 310.3);
Tailwind
colors: {
custom: {
50: '#bc80dd',
500: '#9b47cd',
950: '#000000',
},
}SCSS
$custom: #9b47cd; $custom-light: #bc80dd; $custom-dark: #000000;
JSON
{
"hex": "#9b47cd",
"rgb": {
"r": 155,
"g": 71,
"b": 205
},
"hsl": {
"h": 277.612,
"s": 57.265,
"l": 54.118
},
"oklch": {
"l": 0.56642,
"c": 0.20395,
"h": 310.3
},
"luminance": 0.15883
}Semantic roles & 50–950 ramp
primary
#9B47CD
secondary
#B1D49B
accent
#E14780
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83