#98279F#98279F
#98279F is a mid, vivid purple. Relative luminance 0.106; OKLCH L 50.0% C 0.200 H 325.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #98279F |
|---|---|
| RGB | rgb(152, 39, 159) |
| HSL | hsl(297, 61%, 39%) |
| HSV | hsv(297, 75%, 62%) |
| CMYK | cmyk(4.4%, 75.5%, 0%, 37.6%) |
| CIE-LAB | lab(38.95, 60.20, -40.67) |
| CIE-LCH | lch(38.95, 72.65, 325.96°) |
| OKLab | oklab(50% 0.1645 -0.1132) |
| OKLCH | oklch(50% 0.2 325.5) |
| XYZ | xyz(19.9320, 10.6310, 33.7963) |
| Luminance | 0.1063 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.93
Warm Purple
#952E8F
ΔE00 3.13
Barney
#AC1DB8
ΔE00 4.65
Purply
#983FB2
ΔE00 5.11
Medium Purple
#9E43A2
ΔE00 5.40
Darkmagenta
#8B008B
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98279F #2E9F27
analogous
#5C279F #98279F #9F276A
triadic
#98279F #9F9827 #279F98
tetradic
#98279F #9F5C27 #2E9F27 #276A9F
square
#98279F #9F5C27 #2E9F27 #276A9F
split-complementary
#98279F #6A9F27 #279F5C
monochromatic
#3A0F3D #691B6E #98279F #C536CE #D367DA
Accessibility & contrast
On white
6.72
#98279F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#98279F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98279F
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98279F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98279F | 1.00 | 6.72 | 3.13 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#42609C
Tritanopia (blue-blind)
#9C3C62
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #98279f; /* rgb */ color: rgb(152, 39, 159); /* oklch */ color: oklch(50.0% 0.200 325.5);
Tailwind
colors: {
custom: {
50: '#ba6ebc',
500: '#98279f',
950: '#000000',
},
}SCSS
$custom: #98279f; $custom-light: #ba6ebc; $custom-dark: #000000;
JSON
{
"hex": "#98279f",
"rgb": {
"r": 152,
"g": 39,
"b": 159
},
"hsl": {
"h": 296.5,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.50004,
"c": 0.19964,
"h": 325.5
},
"luminance": 0.1063
}Semantic roles & 50–950 ramp
primary
#98279F
secondary
#68C062
accent
#E4444D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81