#AB87BF#AB87BF
#AB87BF is a light, moderate violet. Relative luminance 0.297; OKLCH L 67.7% C 0.090 H 313.2°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #AB87BF |
|---|---|
| RGB | rgb(171, 135, 191) |
| HSL | hsl(279, 30%, 64%) |
| HSV | hsv(279, 29%, 75%) |
| CMYK | cmyk(10.5%, 29.3%, 0%, 25.1%) |
| CIE-LAB | lab(61.44, 24.13, -24.00) |
| CIE-LCH | lch(61.44, 34.03, 315.16°) |
| OKLab | oklab(67.7% 0.0615 -0.0656) |
| OKLCH | oklch(67.7% 0.09 313.2) |
| XYZ | xyz(34.8610, 29.7480, 53.1856) |
| Luminance | 0.2975 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.67
Pale Purple
#B790D4
ΔE00 4.29
Heather
#A484AC
ΔE00 4.45
Dusty Lavender
#AC86A8
ΔE00 6.41
Soft Purple
#A66FB5
ΔE00 7.27
Lavender
#B39DDB
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB87BF #9BBF87
analogous
#8F87BF #AB87BF #BF87B7
triadic
#AB87BF #BFAB87 #87BFAB
tetradic
#AB87BF #BF8F87 #9BBF87 #87B7BF
square
#AB87BF #BF8F87 #9BBF87 #87B7BF
split-complementary
#AB87BF #B7BF87 #87BF8F
monochromatic
#6F4785 #8F5FAA #AB87BF #C7AFD4 #E3D7EA
Accessibility & contrast
On white
3.02
#AB87BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.95
#AB87BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB87BF
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB87BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB87BF | 1.00 | 3.02 | 6.95 | 6.95 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E92C1
Deuteranopia (green-blind)
#8695BD
Tritanopia (blue-blind)
#AA8E9B
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #ab87bf; /* rgb */ color: rgb(171, 135, 191); /* oklch */ color: oklch(67.7% 0.090 313.2);
Tailwind
colors: {
custom: {
50: '#c4aad2',
500: '#ab87bf',
950: '#000000',
},
}SCSS
$custom: #ab87bf; $custom-light: #c4aad2; $custom-dark: #000000;
JSON
{
"hex": "#ab87bf",
"rgb": {
"r": 171,
"g": 135,
"b": 191
},
"hsl": {
"h": 278.571,
"s": 30.435,
"l": 63.922
},
"oklch": {
"l": 0.67703,
"c": 0.08991,
"h": 313.2
},
"luminance": 0.29747
}Semantic roles & 50–950 ramp
primary
#AB87BF
secondary
#CEDBC7
accent
#A93C63
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82