#9F3DCD#9F3DCD
#9F3DCD is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.0% C 0.218 H 312.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9F3DCD |
|---|---|
| RGB | rgb(159, 61, 205) |
| HSL | hsl(281, 59%, 52%) |
| HSV | hsv(281, 70%, 80%) |
| CMYK | cmyk(22.4%, 70.2%, 0%, 19.6%) |
| CIE-LAB | lab(45.79, 62.27, -56.73) |
| CIE-LCH | lch(45.79, 84.24, 317.66°) |
| OKLab | oklab(56.02% 0.1477 -0.1602) |
| OKLCH | oklch(56.02% 0.218 312.7) |
| XYZ | xyz(26.9843, 15.1170, 59.2422) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.46
Purply
#983FB2
ΔE00 4.25
Vibrant Purple
#AD03DE
ΔE00 4.50
Barney
#AC1DB8
ΔE00 5.60
Violet (survey)
#9A0EEA
ΔE00 5.98
Blueviolet
#8A2BE2
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F3DCD #6BCD3D
analogous
#573DCD #9F3DCD #CD3DB3
triadic
#9F3DCD #CD9F3D #3DCD9F
tetradic
#9F3DCD #CD573D #6BCD3D #3DB3CD
square
#9F3DCD #CD573D #6BCD3D #3DB3CD
split-complementary
#9F3DCD #B3CD3D #3DCD57
monochromatic
#571D72 #7C2AA3 #9F3DCD #B76EDA #CF9EE6
Accessibility & contrast
On white
5.22
#9F3DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#9F3DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F3DCD
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F3DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F3DCD | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#2F6ECA
Tritanopia (blue-blind)
#9A5C81
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9f3dcd; /* rgb */ color: rgb(159, 61, 205); /* oklch */ color: oklch(56.0% 0.218 312.7);
Tailwind
colors: {
custom: {
50: '#c07bdd',
500: '#9f3dcd',
950: '#000000',
},
}SCSS
$custom: #9f3dcd; $custom-light: #c07bdd; $custom-dark: #000000;
JSON
{
"hex": "#9f3dcd",
"rgb": {
"r": 159,
"g": 61,
"b": 205
},
"hsl": {
"h": 280.833,
"s": 59.016,
"l": 52.157
},
"oklch": {
"l": 0.5602,
"c": 0.21787,
"h": 312.7
},
"luminance": 0.15116
}Semantic roles & 50–950 ramp
primary
#9F3DCD
secondary
#A8D293
accent
#E24678
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83