#9C299F#9C299F
#9C299F is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.199 H 326.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #9C299F |
|---|---|
| RGB | rgb(156, 41, 159) |
| HSL | hsl(298, 59%, 39%) |
| HSV | hsv(298, 74%, 62%) |
| CMYK | cmyk(1.9%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(39.85, 60.40, -39.21) |
| CIE-LCH | lch(39.85, 72.01, 327.01°) |
| OKLab | oklab(50.77% 0.1671 -0.1088) |
| OKLCH | oklch(50.77% 0.199 326.9) |
| XYZ | xyz(20.7609, 11.1585, 33.8545) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.92
Barney Purple
#A00498
ΔE00 3.00
Barney
#AC1DB8
ΔE00 4.29
Medium Purple
#9E43A2
ΔE00 4.68
Purply
#983FB2
ΔE00 4.93
Ugly Purple
#A442A0
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C299F #2C9F29
analogous
#61299F #9C299F #9F2967
triadic
#9C299F #9F9C29 #299F9C
tetradic
#9C299F #9F6129 #2C9F29 #29679F
square
#9C299F #9F6129 #2C9F29 #29679F
split-complementary
#9C299F #679F29 #299F61
monochromatic
#3D103E #6C1C6E #9C299F #C839CC #D66AD9
Accessibility & contrast
On white
6.50
#9C299F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#9C299F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C299F
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C299F | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A55A2
Deuteranopia (green-blind)
#47639C
Tritanopia (blue-blind)
#A03C62
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9c299f; /* rgb */ color: rgb(156, 41, 159); /* oklch */ color: oklch(50.8% 0.199 326.9);
Tailwind
colors: {
custom: {
50: '#bd6fbc',
500: '#9c299f',
950: '#000000',
},
}SCSS
$custom: #9c299f; $custom-light: #bd6fbc; $custom-dark: #000000;
JSON
{
"hex": "#9c299f",
"rgb": {
"r": 156,
"g": 41,
"b": 159
},
"hsl": {
"h": 298.475,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.5077,
"c": 0.1994,
"h": 326.9
},
"luminance": 0.11157
}Semantic roles & 50–950 ramp
primary
#9C299F
secondary
#67BF65
accent
#E2464A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81