#9F47CF#9F47CF
#9F47CF is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.207 H 311.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9F47CF |
|---|---|
| RGB | rgb(159, 71, 207) |
| HSL | hsl(279, 59%, 55%) |
| HSV | hsv(279, 66%, 81%) |
| CMYK | cmyk(23.2%, 65.7%, 0%, 18.8%) |
| CIE-LAB | lab(47.47, 58.35, -55.18) |
| CIE-LCH | lch(47.47, 80.31, 316.60°) |
| OKLab | oklab(57.26% 0.1368 -0.1557) |
| OKLCH | oklch(57.26% 0.207 311.3) |
| XYZ | xyz(27.8117, 16.3831, 60.7166) |
| Luminance | 0.1638 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.28
Lightish Purple
#A552E6
ΔE00 4.64
Purply
#983FB2
ΔE00 5.14
Vibrant Purple
#AD03DE
ΔE00 6.04
Amethyst
#9B5FC0
ΔE00 6.05
Purpley
#8756E4
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F47CF #77CF47
analogous
#5B47CF #9F47CF #CF47BB
triadic
#9F47CF #CF9F47 #47CF9F
tetradic
#9F47CF #CF5B47 #77CF47 #47BBCF
square
#9F47CF #CF5B47 #77CF47 #47BBCF
split-complementary
#9F47CF #BBCF47 #47CF5B
monochromatic
#5B207B #7F2DAC #9F47CF #B878DC #D2A8E8
Accessibility & contrast
On white
4.91
#9F47CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#9F47CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F47CF
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F47CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F47CF | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3872CC
Tritanopia (blue-blind)
#996385
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9f47cf; /* rgb */ color: rgb(159, 71, 207); /* oklch */ color: oklch(57.3% 0.207 311.3);
Tailwind
colors: {
custom: {
50: '#bf80de',
500: '#9f47cf',
950: '#000000',
},
}SCSS
$custom: #9f47cf; $custom-light: #bf80de; $custom-dark: #000000;
JSON
{
"hex": "#9f47cf",
"rgb": {
"r": 159,
"g": 71,
"b": 207
},
"hsl": {
"h": 278.824,
"s": 58.621,
"l": 54.51
},
"oklch": {
"l": 0.57263,
"c": 0.20726,
"h": 311.3
},
"luminance": 0.16382
}Semantic roles & 50–950 ramp
primary
#9F47CF
secondary
#B0D69C
accent
#E2467D
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83