#9D47CF#9D47CF
#9D47CF is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.207 H 310.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9D47CF |
|---|---|
| RGB | rgb(157, 71, 207) |
| HSL | hsl(278, 59%, 55%) |
| HSV | hsv(278, 66%, 81%) |
| CMYK | cmyk(24.2%, 65.7%, 0%, 18.8%) |
| CIE-LAB | lab(47.21, 57.92, -55.62) |
| CIE-LCH | lch(47.21, 80.30, 316.16°) |
| OKLab | oklab(57.02% 0.1343 -0.157) |
| OKLCH | oklch(57.02% 0.207 310.5) |
| XYZ | xyz(27.4182, 16.1802, 60.6981) |
| Luminance | 0.1618 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.09
Lightish Purple
#A552E6
ΔE00 4.76
Purply
#983FB2
ΔE00 5.11
Vibrant Purple
#AD03DE
ΔE00 6.04
Amethyst
#9B5FC0
ΔE00 6.17
Purpley
#8756E4
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D47CF #79CF47
analogous
#5947CF #9D47CF #CF47BD
triadic
#9D47CF #CF9D47 #47CF9D
tetradic
#9D47CF #CF5947 #79CF47 #47BDCF
square
#9D47CF #CF5947 #79CF47 #47BDCF
split-complementary
#9D47CF #BDCF47 #47CF59
monochromatic
#5A207B #7D2DAC #9D47CF #B778DC #D1A8E8
Accessibility & contrast
On white
4.96
#9D47CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#9D47CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D47CF
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D47CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D47CF | 1.00 | 4.96 | 4.24 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3571CC
Tritanopia (blue-blind)
#966385
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9d47cf; /* rgb */ color: rgb(157, 71, 207); /* oklch */ color: oklch(57.0% 0.207 310.5);
Tailwind
colors: {
custom: {
50: '#be80de',
500: '#9d47cf',
950: '#000000',
},
}SCSS
$custom: #9d47cf; $custom-light: #be80de; $custom-dark: #000000;
JSON
{
"hex": "#9d47cf",
"rgb": {
"r": 157,
"g": 71,
"b": 207
},
"hsl": {
"h": 277.941,
"s": 58.621,
"l": 54.51
},
"oklch": {
"l": 0.57018,
"c": 0.20661,
"h": 310.5
},
"luminance": 0.1618
}Semantic roles & 50–950 ramp
primary
#9D47CF
secondary
#B1D69C
accent
#E2467F
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83