#8B259E#8B259E
#8B259E is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.195 H 320.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #8B259E |
|---|---|
| RGB | rgb(139, 37, 158) |
| HSL | hsl(291, 62%, 38%) |
| HSV | hsv(291, 77%, 62%) |
| CMYK | cmyk(12%, 76.6%, 0%, 38%) |
| CIE-LAB | lab(36.52, 57.96, -44.08) |
| CIE-LCH | lch(36.52, 72.81, 322.75°) |
| OKLab | oklab(47.84% 0.1512 -0.1235) |
| OKLCH | oklch(47.84% 0.195 320.8) |
| XYZ | xyz(17.4799, 9.2817, 33.2119) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.98
Darkmagenta
#8B008B
ΔE00 4.45
Barney Purple
#A00498
ΔE00 4.46
Warm Purple
#952E8F
ΔE00 4.74
Purply
#983FB2
ΔE00 6.24
Purple
#800080
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B259E #389E25
analogous
#4F259E #8B259E #9E2574
triadic
#8B259E #9E8B25 #259E8B
tetradic
#8B259E #9E4F25 #389E25 #25749E
square
#8B259E #9E4F25 #389E25 #25749E
split-complementary
#8B259E #749E25 #259E4F
monochromatic
#340E3B #5F196C #8B259E #B631CF #C863DA
Accessibility & contrast
On white
7.35
#8B259E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#8B259E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B259E
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B259E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B259E | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#33599B
Tritanopia (blue-blind)
#8C3E60
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #8b259e; /* rgb */ color: rgb(139, 37, 158); /* oklch */ color: oklch(47.8% 0.195 320.8);
Tailwind
colors: {
custom: {
50: '#b16bbb',
500: '#8b259e',
950: '#000000',
},
}SCSS
$custom: #8b259e; $custom-light: #b16bbb; $custom-dark: #000000;
JSON
{
"hex": "#8b259e",
"rgb": {
"r": 139,
"g": 37,
"b": 158
},
"hsl": {
"h": 290.579,
"s": 62.051,
"l": 38.235
},
"oklch": {
"l": 0.47838,
"c": 0.19525,
"h": 320.8
},
"luminance": 0.09281
}Semantic roles & 50–950 ramp
primary
#8B259E
secondary
#6EC05F
accent
#E5435C
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81