#9F218F#9F218F
#9F218F is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.197 H 334.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9F218F |
|---|---|
| RGB | rgb(159, 33, 143) |
| HSL | hsl(308, 66%, 38%) |
| HSV | hsv(308, 79%, 62%) |
| CMYK | cmyk(0%, 79.2%, 10.1%, 37.6%) |
| CIE-LAB | lab(38.63, 60.94, -31.39) |
| CIE-LCH | lch(38.63, 68.55, 332.74°) |
| OKLab | oklab(49.71% 0.1771 -0.0861) |
| OKLCH | oklch(49.71% 0.197 334.1) |
| XYZ | xyz(19.8001, 10.4436, 26.9543) |
| Luminance | 0.1044 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.12
Barney Purple
#A00498
ΔE00 2.70
Darkmagenta
#8B008B
ΔE00 5.66
Ugly Purple
#A442A0
ΔE00 6.10
Medium Purple
#9E43A2
ΔE00 6.22
Barney
#AC1DB8
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F218F #219F31
analogous
#70219F #9F218F #9F2150
triadic
#9F218F #8F9F21 #218F9F
tetradic
#9F218F #9F7021 #219F31 #21509F
square
#9F218F #9F7021 #219F31 #21509F
split-complementary
#9F218F #509F21 #219F70
monochromatic
#3A0C34 #6C1661 #9F218F #D22CBD #DD5DCD
Accessibility & contrast
On white
6.80
#9F218F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#9F218F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F218F
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F218F | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D4F92
Deuteranopia (green-blind)
#4F618C
Tritanopia (blue-blind)
#A72E57
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #9f218f; /* rgb */ color: rgb(159, 33, 143); /* oklch */ color: oklch(49.7% 0.197 334.1);
Tailwind
colors: {
custom: {
50: '#bf6cb0',
500: '#9f218f',
950: '#000000',
},
}SCSS
$custom: #9f218f; $custom-light: #bf6cb0; $custom-dark: #000000;
JSON
{
"hex": "#9f218f",
"rgb": {
"r": 159,
"g": 33,
"b": 143
},
"hsl": {
"h": 307.619,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.49711,
"c": 0.19689,
"h": 334.1
},
"luminance": 0.10442
}Semantic roles & 50–950 ramp
primary
#9F218F
secondary
#5AC267
accent
#E9553F
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F