#98379F#98379F
#98379F is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.5% C 0.180 H 325.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #98379F |
|---|---|
| RGB | rgb(152, 55, 159) |
| HSL | hsl(296, 49%, 42%) |
| HSV | hsv(296, 65%, 62%) |
| CMYK | cmyk(4.4%, 65.4%, 0%, 37.6%) |
| CIE-LAB | lab(41.08, 54.19, -37.29) |
| CIE-LCH | lch(41.08, 65.78, 325.46°) |
| OKLab | oklab(51.53% 0.1478 -0.1035) |
| OKLCH | oklch(51.53% 0.18 325) |
| XYZ | xyz(20.5726, 11.9122, 34.0099) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.99
Warm Purple
#952E8F
ΔE00 3.25
Purply
#983FB2
ΔE00 3.74
Ugly Purple
#A442A0
ΔE00 3.87
Barney
#AC1DB8
ΔE00 4.93
Barney Purple
#A00498
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98379F #3E9F37
analogous
#64379F #98379F #9F3772
triadic
#98379F #9F9837 #379F98
tetradic
#98379F #9F6437 #3E9F37 #37729F
square
#98379F #9F6437 #3E9F37 #37729F
split-complementary
#98379F #729F37 #379F64
monochromatic
#411844 #6D2772 #98379F #BB51C3 #CD7ED2
Accessibility & contrast
On white
6.21
#98379F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#98379F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98379F
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98379F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98379F | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2359A2
Deuteranopia (green-blind)
#4A659C
Tritanopia (blue-blind)
#9B4666
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #98379f; /* rgb */ color: rgb(152, 55, 159); /* oklch */ color: oklch(51.5% 0.180 325.0);
Tailwind
colors: {
custom: {
50: '#b975bc',
500: '#98379f',
950: '#000000',
},
}SCSS
$custom: #98379f; $custom-light: #b975bc; $custom-dark: #000000;
JSON
{
"hex": "#98379f",
"rgb": {
"r": 152,
"g": 55,
"b": 159
},
"hsl": {
"h": 295.962,
"s": 48.598,
"l": 41.961
},
"oklch": {
"l": 0.51528,
"c": 0.18042,
"h": 325
},
"luminance": 0.11911
}Semantic roles & 50–950 ramp
primary
#98379F
secondary
#7BBC76
accent
#D85059
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120912
muted
#817B81