#8B298B#8B298B
#8B298B is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.0% C 0.175 H 327.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8B298B |
|---|---|
| RGB | rgb(139, 41, 139) |
| HSL | hsl(300, 54%, 35%) |
| HSV | hsv(300, 71%, 55%) |
| CMYK | cmyk(0%, 70.5%, 0%, 45.5%) |
| CIE-LAB | lab(35.87, 53.08, -33.53) |
| CIE-LCH | lch(35.87, 62.78, 327.72°) |
| OKLab | oklab(47% 0.148 -0.0928) |
| OKLCH | oklch(47% 0.175 327.9) |
| XYZ | xyz(16.1004, 8.9401, 25.2987) |
| Luminance | 0.0894 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.36
Darkmagenta
#8B008B
ΔE00 3.77
Barney Purple
#A00498
ΔE00 4.11
Purple
#800080
ΔE00 5.15
Purple (survey)
#7E1E9C
ΔE00 5.53
Darkish Purple
#751973
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B298B #298B29
analogous
#5A298B #8B298B #8B295A
triadic
#8B298B #8B8B29 #298B8B
tetradic
#8B298B #8B5A29 #298B29 #295A8B
square
#8B298B #8B5A29 #298B29 #295A8B
split-complementary
#8B298B #5A8B29 #298B5A
monochromatic
#2C0D2C #5C1B5C #8B298B #BA37BA #D05FD0
Accessibility & contrast
On white
7.53
#8B298B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#8B298B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B298B
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B298B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B298B | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#194C8E
Deuteranopia (green-blind)
#425988
Tritanopia (blue-blind)
#8F3757
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #8b298b; /* rgb */ color: rgb(139, 41, 139); /* oklch */ color: oklch(47.0% 0.175 327.9);
Tailwind
colors: {
custom: {
50: '#b06cad',
500: '#8b298b',
950: '#000000',
},
}SCSS
$custom: #8b298b; $custom-light: #b06cad; $custom-dark: #000000;
JSON
{
"hex": "#8b298b",
"rgb": {
"r": 139,
"g": 41,
"b": 139
},
"hsl": {
"h": 300,
"s": 54.444,
"l": 35.294
},
"oklch": {
"l": 0.47001,
"c": 0.17471,
"h": 327.9
},
"luminance": 0.08939
}Semantic roles & 50–950 ramp
primary
#8B298B
secondary
#5BB55B
accent
#DE4A4A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F