#9B279B#9B279B
#9B279B is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.198 H 328.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9B279B |
|---|---|
| RGB | rgb(155, 39, 155) |
| HSL | hsl(300, 60%, 38%) |
| HSV | hsv(300, 75%, 61%) |
| CMYK | cmyk(0%, 74.8%, 0%, 39.2%) |
| CIE-LAB | lab(39.22, 60.16, -37.80) |
| CIE-LCH | lch(39.22, 71.05, 327.86°) |
| OKLab | oklab(50.22% 0.1679 -0.1048) |
| OKLCH | oklch(50.22% 0.198 328) |
| XYZ | xyz(20.1592, 10.7876, 32.0244) |
| Luminance | 0.1079 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.33
Barney Purple
#A00498
ΔE00 2.51
Barney
#AC1DB8
ΔE00 4.93
Medium Purple
#9E43A2
ΔE00 5.09
Ugly Purple
#A442A0
ΔE00 5.51
Darkmagenta
#8B008B
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B279B #279B27
analogous
#61279B #9B279B #9B2761
triadic
#9B279B #9B9B27 #279B9B
tetradic
#9B279B #9B6127 #279B27 #27619B
square
#9B279B #9B6127 #279B27 #27619B
split-complementary
#9B279B #619B27 #279B61
monochromatic
#390E39 #6A1B6A #9B279B #CC33CC #D864D8
Accessibility & contrast
On white
6.65
#9B279B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#9B279B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B279B
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B279B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B279B | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D539E
Deuteranopia (green-blind)
#476298
Tritanopia (blue-blind)
#A0395F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9b279b; /* rgb */ color: rgb(155, 39, 155); /* oklch */ color: oklch(50.2% 0.198 328.0);
Tailwind
colors: {
custom: {
50: '#bc6eb9',
500: '#9b279b',
950: '#000000',
},
}SCSS
$custom: #9b279b; $custom-light: #bc6eb9; $custom-dark: #000000;
JSON
{
"hex": "#9b279b",
"rgb": {
"r": 155,
"g": 39,
"b": 155
},
"hsl": {
"h": 300,
"s": 59.794,
"l": 38.039
},
"oklch": {
"l": 0.50217,
"c": 0.19788,
"h": 328
},
"luminance": 0.10786
}Semantic roles & 50–950 ramp
primary
#9B279B
secondary
#60BE60
accent
#E34545
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80