#8B257A#8B257A
#8B257A is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.166 H 335.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8B257A |
|---|---|
| RGB | rgb(139, 37, 122) |
| HSL | hsl(310, 58%, 35%) |
| HSV | hsv(310, 73%, 55%) |
| CMYK | cmyk(0%, 73.4%, 12.2%, 45.5%) |
| CIE-LAB | lab(34.43, 51.74, -25.23) |
| CIE-LCH | lch(34.43, 57.56, 334.01°) |
| OKLab | oklab(45.67% 0.1513 -0.0688) |
| OKLCH | oklch(45.67% 0.166 335.5) |
| XYZ | xyz(14.8221, 8.2186, 19.2143) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 4.22
Darkish Purple
#751973
ΔE00 5.20
Darkmagenta
#8B008B
ΔE00 5.21
Purple
#800080
ΔE00 5.58
Barney Purple
#A00498
ΔE00 5.96
Red Violet
#9E0168
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B257A #258B36
analogous
#69258B #8B257A #8B2547
triadic
#8B257A #7A8B25 #257A8B
tetradic
#8B257A #8B6925 #258B36 #25478B
square
#8B257A #8B6925 #258B36 #25478B
split-complementary
#8B257A #478B25 #258B69
monochromatic
#2A0B25 #5B1850 #8B257A #BB32A4 #D358BE
Accessibility & contrast
On white
7.94
#8B257A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#8B257A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B257A
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B257A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B257A | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25477C
Deuteranopia (green-blind)
#495678
Tritanopia (blue-blind)
#922C4C
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #8b257a; /* rgb */ color: rgb(139, 37, 122); /* oklch */ color: oklch(45.7% 0.166 335.5);
Tailwind
colors: {
custom: {
50: '#b06aa0',
500: '#8b257a',
950: '#000000',
},
}SCSS
$custom: #8b257a; $custom-light: #b06aa0; $custom-dark: #000000;
JSON
{
"hex": "#8b257a",
"rgb": {
"r": 139,
"g": 37,
"b": 122
},
"hsl": {
"h": 310,
"s": 57.955,
"l": 34.51
},
"oklch": {
"l": 0.45671,
"c": 0.16618,
"h": 335.5
},
"luminance": 0.08217
}Semantic roles & 50–950 ramp
primary
#8B257A
secondary
#55B765
accent
#E16047
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E