#9F4FA2#9F4FA2
#9F4FA2 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 55.7% C 0.151 H 326.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4FA2 |
|---|---|
| RGB | rgb(159, 79, 162) |
| HSL | hsl(298, 34%, 47%) |
| HSV | hsv(298, 51%, 64%) |
| CMYK | cmyk(1.9%, 51.2%, 0%, 36.5%) |
| CIE-LAB | lab(46.41, 45.33, -30.61) |
| CIE-LCH | lch(46.41, 54.70, 325.96°) |
| OKLab | oklab(55.68% 0.1249 -0.0842) |
| OKLCH | oklch(55.68% 0.151 326) |
| XYZ | xyz(23.6152, 15.5728, 35.9374) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.84
Medium Purple
#9E43A2
ΔE00 2.89
Purpleish
#98568D
ΔE00 5.37
Purplish
#94568C
ΔE00 5.54
Purply
#983FB2
ΔE00 5.85
Light Eggplant
#894585
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4FA2 #52A24F
analogous
#754FA2 #9F4FA2 #A24F7C
triadic
#9F4FA2 #A29F4F #4FA29F
tetradic
#9F4FA2 #A2754F #52A24F #4F7CA2
square
#9F4FA2 #A2754F #52A24F #4F7CA2
split-complementary
#9F4FA2 #7CA24F #4FA275
monochromatic
#4E2750 #773B79 #9F4FA2 #B873BB #CD9CCF
Accessibility & contrast
On white
5.10
#9F4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#9F4FA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F4FA2
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4FA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F4FA2 | 1.00 | 5.10 | 4.11 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4667A5
Deuteranopia (green-blind)
#5E72A0
Tritanopia (blue-blind)
#A35971
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9f4fa2; /* rgb */ color: rgb(159, 79, 162); /* oklch */ color: oklch(55.7% 0.151 326.0);
Tailwind
colors: {
custom: {
50: '#bd84be',
500: '#9f4fa2',
950: '#000000',
},
}SCSS
$custom: #9f4fa2; $custom-light: #bd84be; $custom-dark: #000000;
JSON
{
"hex": "#9f4fa2",
"rgb": {
"r": 159,
"g": 79,
"b": 162
},
"hsl": {
"h": 297.831,
"s": 34.44,
"l": 47.255
},
"oklch": {
"l": 0.55683,
"c": 0.15059,
"h": 326
},
"luminance": 0.15572
}Semantic roles & 50–950 ramp
primary
#9F4FA2
secondary
#93BC91
accent
#CB5D61
background
#FBF8FB
surface
#F7EFF6
border
#D0CAD0
text
#120B12
muted
#817C81