#98269C#98269C
#98269C is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.198 H 326.6°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #98269C |
|---|---|
| RGB | rgb(152, 38, 156) |
| HSL | hsl(298, 61%, 38%) |
| HSV | hsv(298, 76%, 61%) |
| CMYK | cmyk(2.6%, 75.6%, 0%, 38.8%) |
| CIE-LAB | lab(38.66, 60.00, -39.32) |
| CIE-LCH | lch(38.66, 71.74, 326.76°) |
| OKLab | oklab(49.74% 0.1655 -0.1093) |
| OKLCH | oklch(49.74% 0.198 326.6) |
| XYZ | xyz(19.6424, 10.4633, 32.4311) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.57
Warm Purple
#952E8F
ΔE00 2.67
Barney
#AC1DB8
ΔE00 5.03
Darkmagenta
#8B008B
ΔE00 5.11
Medium Purple
#9E43A2
ΔE00 5.52
Purply
#983FB2
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98269C #2A9C26
analogous
#5D269C #98269C #9C2665
triadic
#98269C #9C9826 #269C98
tetradic
#98269C #9C5D26 #2A9C26 #26659C
square
#98269C #9C5D26 #2A9C26 #26659C
split-complementary
#98269C #659C26 #269C5D
monochromatic
#380E3A #681A6B #98269C #C832CD #D563D9
Accessibility & contrast
On white
6.79
#98269C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#98269C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #98269C
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98269C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98269C | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00529F
Deuteranopia (green-blind)
#436099
Tritanopia (blue-blind)
#9C3A60
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #98269c; /* rgb */ color: rgb(152, 38, 156); /* oklch */ color: oklch(49.7% 0.198 326.6);
Tailwind
colors: {
custom: {
50: '#ba6dba',
500: '#98269c',
950: '#000000',
},
}SCSS
$custom: #98269c; $custom-light: #ba6dba; $custom-dark: #000000;
JSON
{
"hex": "#98269c",
"rgb": {
"r": 152,
"g": 38,
"b": 156
},
"hsl": {
"h": 297.966,
"s": 60.825,
"l": 38.039
},
"oklch": {
"l": 0.49739,
"c": 0.19829,
"h": 326.6
},
"luminance": 0.10462
}Semantic roles & 50–950 ramp
primary
#98269C
secondary
#62BF5F
accent
#E44449
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80