#9F2BAC#9F2BAC
#9F2BAC is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.209 H 323.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2BAC |
|---|---|
| RGB | rgb(159, 43, 172) |
| HSL | hsl(294, 60%, 42%) |
| HSV | hsv(294, 75%, 67%) |
| CMYK | cmyk(7.6%, 75%, 0%, 32.5%) |
| CIE-LAB | lab(41.34, 62.64, -44.57) |
| CIE-LCH | lch(41.34, 76.88, 324.57°) |
| OKLab | oklab(52.18% 0.1681 -0.1244) |
| OKLCH | oklch(52.18% 0.209 323.5) |
| XYZ | xyz(22.6077, 12.0786, 40.1623) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.51
Purply
#983FB2
ΔE00 3.38
Medium Purple
#9E43A2
ΔE00 4.61
Barney Purple
#A00498
ΔE00 4.63
Warm Purple
#952E8F
ΔE00 5.05
Ugly Purple
#A442A0
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2BAC #38AC2B
analogous
#5E2BAC #9F2BAC #AC2B79
triadic
#9F2BAC #AC9F2B #2BAC9F
tetradic
#9F2BAC #AC5E2B #38AC2B #2B79AC
square
#9F2BAC #AC5E2B #38AC2B #2B79AC
split-complementary
#9F2BAC #79AC2B #2BAC5E
monochromatic
#44134A #721F7B #9F2BAC #C244D0 #D275DC
Accessibility & contrast
On white
6.15
#9F2BAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#9F2BAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2BAC
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2BAC | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#4266A9
Tritanopia (blue-blind)
#A2436A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9f2bac; /* rgb */ color: rgb(159, 43, 172); /* oklch */ color: oklch(52.2% 0.209 323.5);
Tailwind
colors: {
custom: {
50: '#bf71c5',
500: '#9f2bac',
950: '#000000',
},
}SCSS
$custom: #9f2bac; $custom-light: #bf71c5; $custom-dark: #000000;
JSON
{
"hex": "#9f2bac",
"rgb": {
"r": 159,
"g": 43,
"b": 172
},
"hsl": {
"h": 293.953,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.5218,
"c": 0.20912,
"h": 323.5
},
"luminance": 0.12077
}Semantic roles & 50–950 ramp
primary
#9F2BAC
secondary
#77C46F
accent
#E34555
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82