#AB3099#AB3099
#AB3099 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.195 H 334.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3099 |
|---|---|
| RGB | rgb(171, 48, 153) |
| HSL | hsl(309, 56%, 43%) |
| HSV | hsv(309, 72%, 67%) |
| CMYK | cmyk(0%, 71.9%, 10.5%, 32.9%) |
| CIE-LAB | lab(42.87, 60.50, -30.64) |
| CIE-LCH | lch(42.87, 67.82, 333.14°) |
| OKLab | oklab(53.33% 0.176 -0.0838) |
| OKLCH | oklch(53.33% 0.195 334.5) |
| XYZ | xyz(23.6015, 13.0738, 31.4113) |
| Luminance | 0.1307 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.22
Medium Purple
#9E43A2
ΔE00 4.09
Warm Purple
#952E8F
ΔE00 4.50
Barney Purple
#A00498
ΔE00 5.48
Barney
#AC1DB8
ΔE00 5.94
Purply
#983FB2
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3099 #30AB42
analogous
#7F30AB #AB3099 #AB305C
triadic
#AB3099 #99AB30 #3099AB
tetradic
#AB3099 #AB7F30 #30AB42 #305CAB
square
#AB3099 #AB7F30 #30AB42 #305CAB
split-complementary
#AB3099 #5CAB30 #30AB7F
monochromatic
#4B1543 #7B236E #AB3099 #CD4CBA #DA7BCC
Accessibility & contrast
On white
5.81
#AB3099 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#AB3099 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3099
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3099 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5A9C
Deuteranopia (green-blind)
#5A6C96
Tritanopia (blue-blind)
#B33A61
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ab3099; /* rgb */ color: rgb(171, 48, 153); /* oklch */ color: oklch(53.3% 0.195 334.5);
Tailwind
colors: {
custom: {
50: '#c874b7',
500: '#ab3099',
950: '#000000',
},
}SCSS
$custom: #ab3099; $custom-light: #c874b7; $custom-dark: #000000;
JSON
{
"hex": "#ab3099",
"rgb": {
"r": 171,
"g": 48,
"b": 153
},
"hsl": {
"h": 308.78,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.53325,
"c": 0.19491,
"h": 334.5
},
"luminance": 0.13072
}Semantic roles & 50–950 ramp
primary
#AB3099
secondary
#74C380
accent
#DF5E48
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80