#9A47CD#9A47CD
#9A47CD is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.204 H 309.9°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9A47CD |
|---|---|
| RGB | rgb(154, 71, 205) |
| HSL | hsl(277, 57%, 54%) |
| HSV | hsv(277, 65%, 80%) |
| CMYK | cmyk(24.9%, 65.4%, 0%, 19.6%) |
| CIE-LAB | lab(46.69, 56.82, -55.32) |
| CIE-LCH | lch(46.69, 79.31, 315.76°) |
| OKLab | oklab(56.52% 0.1306 -0.1562) |
| OKLCH | oklch(56.52% 0.204 309.9) |
| XYZ | xyz(26.5970, 15.7848, 59.3914) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.81
Purply
#983FB2
ΔE00 4.82
Lightish Purple
#A552E6
ΔE00 5.21
Vibrant Purple
#AD03DE
ΔE00 6.13
Purpley
#8756E4
ΔE00 6.27
Amethyst
#9B5FC0
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A47CD #7ACD47
analogous
#5747CD #9A47CD #CD47BD
triadic
#9A47CD #CD9A47 #47CD9A
tetradic
#9A47CD #CD5747 #7ACD47 #47BDCD
square
#9A47CD #CD5747 #7ACD47 #47BDCD
split-complementary
#9A47CD #BDCD47 #47CD57
monochromatic
#572179 #7A2EA9 #9A47CD #B477DA #CFA7E7
Accessibility & contrast
On white
5.05
#9A47CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#9A47CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A47CD
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A47CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A47CD | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#3470CA
Tritanopia (blue-blind)
#936284
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9a47cd; /* rgb */ color: rgb(154, 71, 205); /* oklch */ color: oklch(56.5% 0.204 309.9);
Tailwind
colors: {
custom: {
50: '#bc80dd',
500: '#9a47cd',
950: '#000000',
},
}SCSS
$custom: #9a47cd; $custom-light: #bc80dd; $custom-dark: #000000;
JSON
{
"hex": "#9a47cd",
"rgb": {
"r": 154,
"g": 71,
"b": 205
},
"hsl": {
"h": 277.164,
"s": 57.265,
"l": 54.118
},
"oklch": {
"l": 0.5652,
"c": 0.20364,
"h": 309.9
},
"luminance": 0.15784
}Semantic roles & 50–950 ramp
primary
#9A47CD
secondary
#B1D49B
accent
#E14782
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83