#98259C#98259C
#98259C is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.199 H 326.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #98259C |
|---|---|
| RGB | rgb(152, 37, 156) |
| HSL | hsl(298, 62%, 38%) |
| HSV | hsv(298, 76%, 61%) |
| CMYK | cmyk(2.6%, 76.3%, 0%, 38.8%) |
| CIE-LAB | lab(38.55, 60.32, -39.50) |
| CIE-LCH | lch(38.55, 72.10, 326.78°) |
| OKLab | oklab(49.66% 0.1663 -0.1098) |
| OKLCH | oklch(49.66% 0.199 326.6) |
| XYZ | xyz(19.6109, 10.4002, 32.4206) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.48
Warm Purple
#952E8F
ΔE00 2.73
Darkmagenta
#8B008B
ΔE00 5.01
Barney
#AC1DB8
ΔE00 5.05
Medium Purple
#9E43A2
ΔE00 5.64
Purply
#983FB2
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98259C #299C25
analogous
#5C259C #98259C #9C2565
triadic
#98259C #9C9825 #259C98
tetradic
#98259C #9C5C25 #299C25 #25659C
square
#98259C #9C5C25 #299C25 #25659C
split-complementary
#98259C #659C25 #259C5C
monochromatic
#380E39 #68196B #98259C #C831CD #D662DA
Accessibility & contrast
On white
6.82
#98259C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#98259C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98259C
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98259C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98259C | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00529F
Deuteranopia (green-blind)
#436099
Tritanopia (blue-blind)
#9C3A5F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #98259c; /* rgb */ color: rgb(152, 37, 156); /* oklch */ color: oklch(49.7% 0.199 326.6);
Tailwind
colors: {
custom: {
50: '#ba6dba',
500: '#98259c',
950: '#000000',
},
}SCSS
$custom: #98259c; $custom-light: #ba6dba; $custom-dark: #000000;
JSON
{
"hex": "#98259c",
"rgb": {
"r": 152,
"g": 37,
"b": 156
},
"hsl": {
"h": 297.983,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.49661,
"c": 0.19929,
"h": 326.6
},
"luminance": 0.10399
}Semantic roles & 50–950 ramp
primary
#98259C
secondary
#61BF5E
accent
#E54348
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80