#8F259C#8F259C
#8F259C is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.195 H 323.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8F259C |
|---|---|
| RGB | rgb(143, 37, 156) |
| HSL | hsl(293, 62%, 38%) |
| HSV | hsv(293, 76%, 61%) |
| CMYK | cmyk(8.3%, 76.3%, 0%, 38.8%) |
| CIE-LAB | lab(37.05, 58.42, -41.98) |
| CIE-LCH | lch(37.05, 71.94, 324.30°) |
| OKLab | oklab(48.3% 0.1561 -0.1173) |
| OKLCH | oklch(48.3% 0.195 323.1) |
| XYZ | xyz(17.9894, 9.5642, 32.3446) |
| Luminance | 0.0956 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.61
Warm Purple
#952E8F
ΔE00 3.81
Purple (survey)
#7E1E9C
ΔE00 3.89
Darkmagenta
#8B008B
ΔE00 4.27
Purply
#983FB2
ΔE00 6.06
Barney
#AC1DB8
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F259C #329C25
analogous
#53259C #8F259C #9C256E
triadic
#8F259C #9C8F25 #259C8F
tetradic
#8F259C #9C5325 #329C25 #256E9C
square
#8F259C #9C5325 #329C25 #256E9C
split-complementary
#8F259C #6E9C25 #259C53
monochromatic
#340E39 #62196B #8F259C #BC31CD #CD62DA
Accessibility & contrast
On white
7.21
#8F259C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#8F259C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F259C
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F259C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F259C | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#395B99
Tritanopia (blue-blind)
#913C5F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8f259c; /* rgb */ color: rgb(143, 37, 156); /* oklch */ color: oklch(48.3% 0.195 323.1);
Tailwind
colors: {
custom: {
50: '#b36cba',
500: '#8f259c',
950: '#000000',
},
}SCSS
$custom: #8f259c; $custom-light: #b36cba; $custom-dark: #000000;
JSON
{
"hex": "#8f259c",
"rgb": {
"r": 143,
"g": 37,
"b": 156
},
"hsl": {
"h": 293.445,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.483,
"c": 0.19526,
"h": 323.1
},
"luminance": 0.09563
}Semantic roles & 50–950 ramp
primary
#8F259C
secondary
#68BF5E
accent
#E54355
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81