#97279F#97279F
#97279F is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.9% C 0.199 H 325.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #97279F |
|---|---|
| RGB | rgb(151, 39, 159) |
| HSL | hsl(296, 61%, 39%) |
| HSV | hsv(296, 75%, 62%) |
| CMYK | cmyk(5%, 75.5%, 0%, 37.6%) |
| CIE-LAB | lab(38.79, 59.98, -40.95) |
| CIE-LCH | lch(38.79, 72.63, 325.68°) |
| OKLab | oklab(49.85% 0.1633 -0.114) |
| OKLCH | oklch(49.85% 0.199 325.1) |
| XYZ | xyz(19.7456, 10.5348, 33.7876) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.00
Warm Purple
#952E8F
ΔE00 3.20
Barney
#AC1DB8
ΔE00 4.75
Purply
#983FB2
ΔE00 5.14
Darkmagenta
#8B008B
ΔE00 5.33
Purple (survey)
#7E1E9C
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97279F #2F9F27
analogous
#5B279F #97279F #9F276B
triadic
#97279F #9F9727 #279F97
tetradic
#97279F #9F5B27 #2F9F27 #276B9F
square
#97279F #9F5B27 #2F9F27 #276B9F
split-complementary
#97279F #6B9F27 #279F5B
monochromatic
#3A0F3D #681B6E #97279F #C336CE #D267DA
Accessibility & contrast
On white
6.76
#97279F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#97279F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #97279F
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97279F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97279F | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#41609C
Tritanopia (blue-blind)
#9A3C62
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #97279f; /* rgb */ color: rgb(151, 39, 159); /* oklch */ color: oklch(49.9% 0.199 325.1);
Tailwind
colors: {
custom: {
50: '#b96ebc',
500: '#97279f',
950: '#000000',
},
}SCSS
$custom: #97279f; $custom-light: #b96ebc; $custom-dark: #000000;
JSON
{
"hex": "#97279f",
"rgb": {
"r": 151,
"g": 39,
"b": 159
},
"hsl": {
"h": 296,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.49853,
"c": 0.19919,
"h": 325.1
},
"luminance": 0.10534
}Semantic roles & 50–950 ramp
primary
#97279F
secondary
#68C062
accent
#E4444F
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81