#98279C#98279C
#98279C is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.197 H 326.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #98279C |
|---|---|
| RGB | rgb(152, 39, 156) |
| HSL | hsl(298, 60%, 38%) |
| HSV | hsv(298, 75%, 61%) |
| CMYK | cmyk(2.6%, 75%, 0%, 38.8%) |
| CIE-LAB | lab(38.77, 59.68, -39.14) |
| CIE-LCH | lch(38.77, 71.37, 326.74°) |
| OKLab | oklab(49.82% 0.1646 -0.1087) |
| OKLCH | oklch(49.82% 0.197 326.5) |
| XYZ | xyz(19.6748, 10.5281, 32.4419) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.61
Barney Purple
#A00498
ΔE00 2.66
Barney
#AC1DB8
ΔE00 5.01
Darkmagenta
#8B008B
ΔE00 5.21
Medium Purple
#9E43A2
ΔE00 5.39
Purply
#983FB2
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98279C #2B9C27
analogous
#5D279C #98279C #9C2765
triadic
#98279C #9C9827 #279C98
tetradic
#98279C #9C5D27 #2B9C27 #27659C
square
#98279C #9C5D27 #2B9C27 #27659C
split-complementary
#98279C #659C27 #279C5D
monochromatic
#390F3A #681B6B #98279C #C734CC #D565D8
Accessibility & contrast
On white
6.76
#98279C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#98279C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98279C
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98279C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98279C | 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)
#04529F
Deuteranopia (green-blind)
#446099
Tritanopia (blue-blind)
#9C3B60
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #98279c; /* rgb */ color: rgb(152, 39, 156); /* oklch */ color: oklch(49.8% 0.197 326.5);
Tailwind
colors: {
custom: {
50: '#ba6eba',
500: '#98279c',
950: '#000000',
},
}SCSS
$custom: #98279c; $custom-light: #ba6eba; $custom-dark: #000000;
JSON
{
"hex": "#98279c",
"rgb": {
"r": 152,
"g": 39,
"b": 156
},
"hsl": {
"h": 297.949,
"s": 60,
"l": 38.235
},
"oklch": {
"l": 0.4982,
"c": 0.19725,
"h": 326.5
},
"luminance": 0.10527
}Semantic roles & 50–950 ramp
primary
#98279C
secondary
#64BE61
accent
#E3454A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80