#8B2D9F#8B2D9F
#8B2D9F is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.187 H 320.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #8B2D9F |
|---|---|
| RGB | rgb(139, 45, 159) |
| HSL | hsl(289, 56%, 40%) |
| HSV | hsv(289, 72%, 62%) |
| CMYK | cmyk(12.6%, 71.7%, 0%, 37.6%) |
| CIE-LAB | lab(37.61, 55.23, -42.94) |
| CIE-LCH | lch(37.61, 69.96, 322.14°) |
| OKLab | oklab(48.63% 0.1434 -0.1202) |
| OKLCH | oklch(48.63% 0.187 320) |
| XYZ | xyz(17.8431, 9.8698, 33.7594) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.79
Warm Purple
#952E8F
ΔE00 4.45
Barney Purple
#A00498
ΔE00 4.89
Purply
#983FB2
ΔE00 5.25
Darkmagenta
#8B008B
ΔE00 5.41
Barney
#AC1DB8
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B2D9F #419F2D
analogous
#522D9F #8B2D9F #9F2D7A
triadic
#8B2D9F #9F8B2D #2D9F8B
tetradic
#8B2D9F #9F522D #419F2D #2D7A9F
square
#8B2D9F #9F522D #419F2D #2D7A9F
split-complementary
#8B2D9F #7A9F2D #2D9F52
monochromatic
#381240 #61206F #8B2D9F #B140C9 #C570D6
Accessibility & contrast
On white
7.06
#8B2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#8B2D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B2D9F
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B2D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B2D9F | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#375C9C
Tritanopia (blue-blind)
#8B4363
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #8b2d9f; /* rgb */ color: rgb(139, 45, 159); /* oklch */ color: oklch(48.6% 0.187 320.0);
Tailwind
colors: {
custom: {
50: '#b06fbc',
500: '#8b2d9f',
950: '#000000',
},
}SCSS
$custom: #8b2d9f; $custom-light: #b06fbc; $custom-dark: #000000;
JSON
{
"hex": "#8b2d9f",
"rgb": {
"r": 139,
"g": 45,
"b": 159
},
"hsl": {
"h": 289.474,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.48632,
"c": 0.18712,
"h": 320
},
"luminance": 0.09869
}Semantic roles & 50–950 ramp
primary
#8B2D9F
secondary
#79BE6A
accent
#DF4963
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81