#9F2293#9F2293
#9F2293 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 50.0% C 0.199 H 332.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2293 |
|---|---|
| RGB | rgb(159, 34, 147) |
| HSL | hsl(306, 65%, 38%) |
| HSV | hsv(306, 79%, 62%) |
| CMYK | cmyk(0%, 78.6%, 7.5%, 37.6%) |
| CIE-LAB | lab(38.94, 61.27, -33.35) |
| CIE-LCH | lch(38.94, 69.75, 331.44°) |
| OKLab | oklab(50% 0.1764 -0.0917) |
| OKLCH | oklch(50% 0.199 332.5) |
| XYZ | xyz(20.1367, 10.6233, 28.5881) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.99
Barney Purple
#A00498
ΔE00 2.32
Darkmagenta
#8B008B
ΔE00 5.61
Ugly Purple
#A442A0
ΔE00 5.76
Medium Purple
#9E43A2
ΔE00 5.78
Barney
#AC1DB8
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2293 #229F2E
analogous
#6C229F #9F2293 #9F2254
triadic
#9F2293 #939F22 #22939F
tetradic
#9F2293 #9F6C22 #229F2E #22549F
square
#9F2293 #9F6C22 #229F2E #22549F
split-complementary
#9F2293 #549F22 #229F6C
monochromatic
#3A0C36 #6D1764 #9F2293 #D12DC2 #DD5FD1
Accessibility & contrast
On white
6.72
#9F2293 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#9F2293 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2293
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2293 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2293 | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195096
Deuteranopia (green-blind)
#4D6290
Tritanopia (blue-blind)
#A6315A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9f2293; /* rgb */ color: rgb(159, 34, 147); /* oklch */ color: oklch(50.0% 0.199 332.5);
Tailwind
colors: {
custom: {
50: '#bf6db3',
500: '#9f2293',
950: '#000000',
},
}SCSS
$custom: #9f2293; $custom-light: #bf6db3; $custom-dark: #000000;
JSON
{
"hex": "#9f2293",
"rgb": {
"r": 159,
"g": 34,
"b": 147
},
"hsl": {
"h": 305.76,
"s": 64.767,
"l": 37.843
},
"oklch": {
"l": 0.50003,
"c": 0.19881,
"h": 332.5
},
"luminance": 0.10622
}Semantic roles & 50–950 ramp
primary
#9F2293
secondary
#5BC165
accent
#E85040
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80