#9F38C3#9F38C3
#9F38C3 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.215 H 315.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #9F38C3 |
|---|---|
| RGB | rgb(159, 56, 195) |
| HSL | hsl(284, 55%, 49%) |
| HSV | hsv(284, 71%, 76%) |
| CMYK | cmyk(18.5%, 71.3%, 0%, 23.5%) |
| CIE-LAB | lab(44.43, 62.25, -53.13) |
| CIE-LCH | lch(44.43, 81.84, 319.52°) |
| OKLab | oklab(54.84% 0.1538 -0.1496) |
| OKLCH | oklch(54.84% 0.215 315.8) |
| XYZ | xyz(25.5610, 14.1404, 53.0021) |
| Luminance | 0.1414 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.31
Purply
#983FB2
ΔE00 2.82
Barney
#AC1DB8
ΔE00 4.00
Vibrant Purple
#AD03DE
ΔE00 4.64
Medium Purple
#9E43A2
ΔE00 6.21
Darkviolet
#9400D3
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F38C3 #5CC338
analogous
#5938C3 #9F38C3 #C338A2
triadic
#9F38C3 #C39F38 #38C39F
tetradic
#9F38C3 #C35938 #5CC338 #38A2C3
square
#9F38C3 #C35938 #5CC338 #38A2C3
split-complementary
#9F38C3 #A2C338 #38C359
monochromatic
#511D64 #782A93 #9F38C3 #B665D3 #CD95E1
Accessibility & contrast
On white
5.49
#9F38C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#9F38C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F38C3
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F38C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F38C3 | 1.00 | 5.49 | 3.83 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#366CC0
Tritanopia (blue-blind)
#9C557A
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9f38c3; /* rgb */ color: rgb(159, 56, 195); /* oklch */ color: oklch(54.8% 0.215 315.8);
Tailwind
colors: {
custom: {
50: '#bf78d6',
500: '#9f38c3',
950: '#000000',
},
}SCSS
$custom: #9f38c3; $custom-light: #bf78d6; $custom-dark: #000000;
JSON
{
"hex": "#9f38c3",
"rgb": {
"r": 159,
"g": 56,
"b": 195
},
"hsl": {
"h": 284.46,
"s": 55.378,
"l": 49.216
},
"oklch": {
"l": 0.54843,
"c": 0.21452,
"h": 315.8
},
"luminance": 0.14139
}Semantic roles & 50–950 ramp
primary
#9F38C3
secondary
#9CCC8B
accent
#DF4970
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83