#97279C#97279C
#97279C is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.197 H 326.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #97279C |
|---|---|
| RGB | rgb(151, 39, 156) |
| HSL | hsl(297, 60%, 38%) |
| HSV | hsv(297, 75%, 61%) |
| CMYK | cmyk(3.2%, 75%, 0%, 38.8%) |
| CIE-LAB | lab(38.61, 59.46, -39.42) |
| CIE-LCH | lch(38.61, 71.34, 326.46°) |
| OKLab | oklab(49.67% 0.1634 -0.1096) |
| OKLCH | oklch(49.67% 0.197 326.2) |
| XYZ | xyz(19.4884, 10.4320, 32.4332) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.69
Barney Purple
#A00498
ΔE00 2.73
Barney
#AC1DB8
ΔE00 5.10
Darkmagenta
#8B008B
ΔE00 5.10
Purply
#983FB2
ΔE00 5.49
Medium Purple
#9E43A2
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97279C #2C9C27
analogous
#5C279C #97279C #9C2766
triadic
#97279C #9C9727 #279C97
tetradic
#97279C #9C5C27 #2C9C27 #27669C
square
#97279C #9C5C27 #2C9C27 #27669C
split-complementary
#97279C #669C27 #279C5C
monochromatic
#380F3A #681B6B #97279C #C634CC #D465D8
Accessibility & contrast
On white
6.80
#97279C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#97279C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #97279C
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97279C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97279C | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#01529F
Deuteranopia (green-blind)
#436099
Tritanopia (blue-blind)
#9B3B60
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #97279c; /* rgb */ color: rgb(151, 39, 156); /* oklch */ color: oklch(49.7% 0.197 326.2);
Tailwind
colors: {
custom: {
50: '#b96eba',
500: '#97279c',
950: '#000000',
},
}SCSS
$custom: #97279c; $custom-light: #b96eba; $custom-dark: #000000;
JSON
{
"hex": "#97279c",
"rgb": {
"r": 151,
"g": 39,
"b": 156
},
"hsl": {
"h": 297.436,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.49668,
"c": 0.19678,
"h": 326.2
},
"luminance": 0.10431
}Semantic roles & 50–950 ramp
primary
#97279C
secondary
#65BE61
accent
#E3454B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80