#8F2697#8F2697
#8F2697 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.190 H 324.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #8F2697 |
|---|---|
| RGB | rgb(143, 38, 151) |
| HSL | hsl(296, 60%, 37%) |
| HSV | hsv(296, 75%, 59%) |
| CMYK | cmyk(5.3%, 74.8%, 0%, 40.8%) |
| CIE-LAB | lab(36.86, 57.19, -39.25) |
| CIE-LCH | lch(36.86, 69.36, 325.53°) |
| OKLab | oklab(48.07% 0.1555 -0.1093) |
| OKLCH | oklch(48.07% 0.19 324.9) |
| XYZ | xyz(17.6063, 9.4614, 30.1710) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.01
Barney Purple
#A00498
ΔE00 3.30
Darkmagenta
#8B008B
ΔE00 3.91
Purple (survey)
#7E1E9C
ΔE00 4.39
Purple
#800080
ΔE00 5.88
Purply
#983FB2
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F2697 #2E9726
analogous
#572697 #8F2697 #972667
triadic
#8F2697 #978F26 #26978F
tetradic
#8F2697 #975726 #2E9726 #266797
square
#8F2697 #975726 #2E9726 #266797
split-complementary
#8F2697 #679726 #269757
monochromatic
#320D35 #611A66 #8F2697 #BD32C8 #CF60D7
Accessibility & contrast
On white
7.26
#8F2697 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#8F2697 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8F2697
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F2697 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F2697 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#3D5B94
Tritanopia (blue-blind)
#923A5D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #8f2697; /* rgb */ color: rgb(143, 38, 151); /* oklch */ color: oklch(48.1% 0.190 324.9);
Tailwind
colors: {
custom: {
50: '#b36cb6',
500: '#8f2697',
950: '#000000',
},
}SCSS
$custom: #8f2697; $custom-light: #b36cb6; $custom-dark: #000000;
JSON
{
"hex": "#8f2697",
"rgb": {
"r": 143,
"g": 38,
"b": 151
},
"hsl": {
"h": 295.752,
"s": 59.788,
"l": 37.059
},
"oklch": {
"l": 0.48065,
"c": 0.19007,
"h": 324.9
},
"luminance": 0.0946
}Semantic roles & 50–950 ramp
primary
#8F2697
secondary
#63BC5C
accent
#E34550
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80