#9F3BAE#9F3BAE
#9F3BAE is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.8% C 0.192 H 322.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9F3BAE |
|---|---|
| RGB | rgb(159, 59, 174) |
| HSL | hsl(292, 49%, 46%) |
| HSV | hsv(292, 66%, 68%) |
| CMYK | cmyk(8.6%, 66.1%, 0%, 31.8%) |
| CIE-LAB | lab(43.59, 56.97, -42.17) |
| CIE-LCH | lch(43.59, 70.88, 323.49°) |
| OKLab | oklab(53.83% 0.1516 -0.1175) |
| OKLCH | oklch(53.83% 0.192 322.2) |
| XYZ | xyz(23.5012, 13.5561, 41.4149) |
| Luminance | 0.1356 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.76
Medium Purple
#9E43A2
ΔE00 2.82
Barney
#AC1DB8
ΔE00 3.60
Ugly Purple
#A442A0
ΔE00 3.78
Darkorchid
#9932CC
ΔE00 5.58
Warm Purple
#952E8F
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F3BAE #4AAE3B
analogous
#653BAE #9F3BAE #AE3B83
triadic
#9F3BAE #AE9F3B #3BAE9F
tetradic
#9F3BAE #AE653B #4AAE3B #3B83AE
square
#9F3BAE #AE653B #4AAE3B #3B83AE
split-complementary
#9F3BAE #83AE3B #3BAE65
monochromatic
#4B1C53 #752C80 #9F3BAE #BA5EC8 #CE8CD8
Accessibility & contrast
On white
5.66
#9F3BAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#9F3BAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F3BAE
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F3BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F3BAE | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D60B1
Deuteranopia (green-blind)
#4A6BAB
Tritanopia (blue-blind)
#A14E70
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9f3bae; /* rgb */ color: rgb(159, 59, 174); /* oklch */ color: oklch(53.8% 0.192 322.2);
Tailwind
colors: {
custom: {
50: '#bf79c7',
500: '#9f3bae',
950: '#000000',
},
}SCSS
$custom: #9f3bae; $custom-light: #bf79c7; $custom-dark: #000000;
JSON
{
"hex": "#9f3bae",
"rgb": {
"r": 159,
"g": 59,
"b": 174
},
"hsl": {
"h": 292.174,
"s": 49.356,
"l": 45.686
},
"oklch": {
"l": 0.53829,
"c": 0.19183,
"h": 322.2
},
"luminance": 0.13555
}Semantic roles & 50–950 ramp
primary
#9F3BAE
secondary
#8BC282
accent
#D94F61
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82