#9F2EAF#9F2EAF
#9F2EAF is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.208 H 322.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #9F2EAF |
|---|---|
| RGB | rgb(159, 46, 175) |
| HSL | hsl(293, 58%, 43%) |
| HSV | hsv(293, 74%, 69%) |
| CMYK | cmyk(9.1%, 73.7%, 0%, 31.4%) |
| CIE-LAB | lab(41.88, 62.16, -45.49) |
| CIE-LCH | lch(41.88, 77.03, 323.80°) |
| OKLab | oklab(52.62% 0.1651 -0.1271) |
| OKLCH | oklch(52.62% 0.208 322.4) |
| XYZ | xyz(23.0121, 12.4214, 41.7346) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.37
Purply
#983FB2
ΔE00 2.83
Medium Purple
#9E43A2
ΔE00 4.50
Darkorchid
#9932CC
ΔE00 5.08
Barney Purple
#A00498
ΔE00 5.29
Ugly Purple
#A442A0
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F2EAF #3EAF2E
analogous
#5E2EAF #9F2EAF #AF2E7E
triadic
#9F2EAF #AF9F2E #2EAF9F
tetradic
#9F2EAF #AF5E2E #3EAF2E #2E7EAF
square
#9F2EAF #AF5E2E #3EAF2E #2E7EAF
split-complementary
#9F2EAF #7EAF2E #2EAF5E
monochromatic
#47154E #73217F #9F2EAF #BF4BD0 #D07BDC
Accessibility & contrast
On white
6.03
#9F2EAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#9F2EAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F2EAF
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F2EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F2EAF | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#4167AC
Tritanopia (blue-blind)
#A1466C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #9f2eaf; /* rgb */ color: rgb(159, 46, 175); /* oklch */ color: oklch(52.6% 0.208 322.4);
Tailwind
colors: {
custom: {
50: '#bf72c7',
500: '#9f2eaf',
950: '#000000',
},
}SCSS
$custom: #9f2eaf; $custom-light: #bf72c7; $custom-dark: #000000;
JSON
{
"hex": "#9f2eaf",
"rgb": {
"r": 159,
"g": 46,
"b": 175
},
"hsl": {
"h": 292.558,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.52621,
"c": 0.2084,
"h": 322.4
},
"luminance": 0.1242
}Semantic roles & 50–950 ramp
primary
#9F2EAF
secondary
#7EC574
accent
#E24659
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82