#9F3CA8#9F3CA8
#9F3CA8 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.6% C 0.185 H 324.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9F3CA8 |
|---|---|
| RGB | rgb(159, 60, 168) |
| HSL | hsl(295, 47%, 45%) |
| HSV | hsv(295, 64%, 66%) |
| CMYK | cmyk(5.4%, 64.3%, 0%, 34.1%) |
| CIE-LAB | lab(43.41, 55.43, -38.90) |
| CIE-LCH | lch(43.41, 67.72, 324.94°) |
| OKLab | oklab(53.59% 0.1504 -0.108) |
| OKLCH | oklch(53.59% 0.185 324.3) |
| XYZ | xyz(22.9812, 13.4311, 38.4202) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.85
Purply
#983FB2
ΔE00 2.65
Ugly Purple
#A442A0
ΔE00 2.79
Barney
#AC1DB8
ΔE00 4.18
Warm Purple
#952E8F
ΔE00 5.22
Barney Purple
#A00498
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F3CA8 #45A83C
analogous
#693CA8 #9F3CA8 #A83C7B
triadic
#9F3CA8 #A89F3C #3CA89F
tetradic
#9F3CA8 #A8693C #45A83C #3C7BA8
square
#9F3CA8 #A8693C #45A83C #3C7BA8
split-complementary
#9F3CA8 #7BA83C #3CA869
monochromatic
#4A1C4E #742C7B #9F3CA8 #BC5CC5 #CF89D5
Accessibility & contrast
On white
5.70
#9F3CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#9F3CA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F3CA8
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F3CA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F3CA8 | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275FAB
Deuteranopia (green-blind)
#4E6BA5
Tritanopia (blue-blind)
#A24C6D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9f3ca8; /* rgb */ color: rgb(159, 60, 168); /* oklch */ color: oklch(53.6% 0.185 324.3);
Tailwind
colors: {
custom: {
50: '#be79c2',
500: '#9f3ca8',
950: '#000000',
},
}SCSS
$custom: #9f3ca8; $custom-light: #be79c2; $custom-dark: #000000;
JSON
{
"hex": "#9f3ca8",
"rgb": {
"r": 159,
"g": 60,
"b": 168
},
"hsl": {
"h": 295,
"s": 47.368,
"l": 44.706
},
"oklch": {
"l": 0.53587,
"c": 0.18513,
"h": 324.3
},
"luminance": 0.1343
}Semantic roles & 50–950 ramp
primary
#9F3CA8
secondary
#86BF80
accent
#D7515C
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A12
muted
#817C81