#9B299F#9B299F
#9B299F is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.199 H 326.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9B299F |
|---|---|
| RGB | rgb(155, 41, 159) |
| HSL | hsl(298, 59%, 39%) |
| HSV | hsv(298, 74%, 62%) |
| CMYK | cmyk(2.5%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(39.68, 60.19, -39.48) |
| CIE-LCH | lch(39.68, 71.98, 326.74°) |
| OKLab | oklab(50.62% 0.166 -0.1097) |
| OKLCH | oklch(50.62% 0.199 326.5) |
| XYZ | xyz(20.5681, 11.0591, 33.8454) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.93
Barney Purple
#A00498
ΔE00 3.00
Barney
#AC1DB8
ΔE00 4.36
Medium Purple
#9E43A2
ΔE00 4.79
Purply
#983FB2
ΔE00 4.92
Ugly Purple
#A442A0
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B299F #2D9F29
analogous
#60299F #9B299F #9F2968
triadic
#9B299F #9F9B29 #299F9B
tetradic
#9B299F #9F6029 #2D9F29 #29689F
square
#9B299F #9F6029 #2D9F29 #29689F
split-complementary
#9B299F #689F29 #299F60
monochromatic
#3C103E #6C1C6E #9B299F #C739CC #D56AD9
Accessibility & contrast
On white
6.54
#9B299F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#9B299F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B299F
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B299F | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0754A2
Deuteranopia (green-blind)
#46629C
Tritanopia (blue-blind)
#9F3D62
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9b299f; /* rgb */ color: rgb(155, 41, 159); /* oklch */ color: oklch(50.6% 0.199 326.5);
Tailwind
colors: {
custom: {
50: '#bc6fbc',
500: '#9b299f',
950: '#000000',
},
}SCSS
$custom: #9b299f; $custom-light: #bc6fbc; $custom-dark: #000000;
JSON
{
"hex": "#9b299f",
"rgb": {
"r": 155,
"g": 41,
"b": 159
},
"hsl": {
"h": 297.966,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.5062,
"c": 0.19893,
"h": 326.5
},
"luminance": 0.11058
}Semantic roles & 50–950 ramp
primary
#9B299F
secondary
#68BF65
accent
#E2464B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81