#9F39AF#9F39AF
#9F39AF is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.7% C 0.195 H 322.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9F39AF |
|---|---|
| RGB | rgb(159, 57, 175) |
| HSL | hsl(292, 51%, 45%) |
| HSV | hsv(292, 67%, 69%) |
| CMYK | cmyk(9.1%, 67.4%, 0%, 31.4%) |
| CIE-LAB | lab(43.35, 57.99, -43.14) |
| CIE-LCH | lch(43.35, 72.28, 323.35°) |
| OKLab | oklab(53.68% 0.1539 -0.1203) |
| OKLCH | oklch(53.68% 0.195 322) |
| XYZ | xyz(23.4982, 13.3936, 41.8966) |
| Luminance | 0.1339 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.73
Medium Purple
#9E43A2
ΔE00 3.19
Barney
#AC1DB8
ΔE00 3.29
Ugly Purple
#A442A0
ΔE00 4.12
Darkorchid
#9932CC
ΔE00 5.30
Warm Purple
#952E8F
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F39AF #49AF39
analogous
#6439AF #9F39AF #AF3984
triadic
#9F39AF #AF9F39 #39AF9F
tetradic
#9F39AF #AF6439 #49AF39 #3984AF
square
#9F39AF #AF6439 #49AF39 #3984AF
split-complementary
#9F39AF #84AF39 #39AF64
monochromatic
#4B1B53 #752A81 #9F39AF #BB5BCA #CE8AD9
Accessibility & contrast
On white
5.71
#9F39AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#9F39AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F39AF
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F39AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F39AF | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#165FB2
Deuteranopia (green-blind)
#486AAC
Tritanopia (blue-blind)
#A14D6F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9f39af; /* rgb */ color: rgb(159, 57, 175); /* oklch */ color: oklch(53.7% 0.195 322.0);
Tailwind
colors: {
custom: {
50: '#bf78c7',
500: '#9f39af',
950: '#000000',
},
}SCSS
$custom: #9f39af; $custom-light: #bf78c7; $custom-dark: #000000;
JSON
{
"hex": "#9f39af",
"rgb": {
"r": 159,
"g": 57,
"b": 175
},
"hsl": {
"h": 291.864,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.53675,
"c": 0.19533,
"h": 322
},
"luminance": 0.13392
}Semantic roles & 50–950 ramp
primary
#9F39AF
secondary
#8AC381
accent
#DA4D61
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82