#AB98CD#AB98CD
#AB98CD is a light, moderate violet. Relative luminance 0.355; OKLCH L 71.5% C 0.079 H 300.9°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #AB98CD |
|---|---|
| RGB | rgb(171, 152, 205) |
| HSL | hsl(262, 35%, 70%) |
| HSV | hsv(262, 26%, 80%) |
| CMYK | cmyk(16.6%, 25.9%, 0%, 19.6%) |
| CIE-LAB | lab(66.15, 17.56, -24.61) |
| CIE-LCH | lch(66.15, 30.24, 305.51°) |
| OKLab | oklab(71.5% 0.0403 -0.0674) |
| OKLCH | oklch(71.5% 0.079 300.9) |
| XYZ | xyz(39.0400, 35.5221, 62.5455) |
| Luminance | 0.3552 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 2.78
Pale Purple
#B790D4
ΔE00 4.79
Lavender (survey)
#C79FEF
ΔE00 7.27
Heather
#A484AC
ΔE00 8.14
Lilac
#C8A2C8
ΔE00 8.39
Wisteria
#A87DC2
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB98CD #BACD98
analogous
#98A0CD #AB98CD #C598CD
triadic
#AB98CD #CDAB98 #98CDAB
tetradic
#AB98CD #CD98A0 #BACD98 #98CDC5
square
#AB98CD #CD98A0 #BACD98 #98CDC5
split-complementary
#AB98CD #CDC598 #A0CD98
monochromatic
#6A4D9E #896FB9 #AB98CD #CDC1E1 #EEEAF5
Accessibility & contrast
On white
2.59
#AB98CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#AB98CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB98CD
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB98CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB98CD | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DA1CF
Deuteranopia (green-blind)
#90A1CB
Tritanopia (blue-blind)
#A5A0AA
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #ab98cd; /* rgb */ color: rgb(171, 152, 205); /* oklch */ color: oklch(71.5% 0.079 300.9);
Tailwind
colors: {
custom: {
50: '#c4b6dc',
500: '#ab98cd',
950: '#000000',
},
}SCSS
$custom: #ab98cd; $custom-light: #c4b6dc; $custom-dark: #000000;
JSON
{
"hex": "#ab98cd",
"rgb": {
"r": 171,
"g": 152,
"b": 205
},
"hsl": {
"h": 261.509,
"s": 34.641,
"l": 70
},
"oklch": {
"l": 0.71499,
"c": 0.07852,
"h": 300.9
},
"luminance": 0.35522
}Semantic roles & 50–950 ramp
primary
#AB98CD
secondary
#E3E8D9
accent
#AD3883
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083