#AB8EBD#AB8EBD
#AB8EBD is a light, moderate violet. Relative luminance 0.317; OKLCH L 68.9% C 0.075 H 312.3°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #AB8EBD |
|---|---|
| RGB | rgb(171, 142, 189) |
| HSL | hsl(277, 26%, 65%) |
| HSV | hsv(277, 25%, 74%) |
| CMYK | cmyk(9.5%, 24.9%, 0%, 25.9%) |
| CIE-LAB | lab(63.08, 19.75, -20.36) |
| CIE-LCH | lch(63.08, 28.36, 314.12°) |
| OKLab | oklab(68.94% 0.0503 -0.0554) |
| OKLCH | oklch(68.94% 0.075 312.3) |
| XYZ | xyz(35.6514, 31.6785, 52.3707) |
| Luminance | 0.3168 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 4.00
Pale Purple
#B790D4
ΔE00 5.13
Dusty Lavender
#AC86A8
ΔE00 5.51
Wisteria
#A87DC2
ΔE00 6.38
Lavender
#B39DDB
ΔE00 6.53
Lilac
#C8A2C8
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB8EBD #A0BD8E
analogous
#938EBD #AB8EBD #BD8EB8
triadic
#AB8EBD #BDAB8E #8EBDAB
tetradic
#AB8EBD #BD938E #A0BD8E #8EB8BD
square
#AB8EBD #BD938E #A0BD8E #8EB8BD
split-complementary
#AB8EBD #B8BD8E #8EBD93
monochromatic
#6F4D84 #8E67A6 #AB8EBD #C8B5D4 #E4DBEA
Accessibility & contrast
On white
2.86
#AB8EBD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#AB8EBD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AB8EBD
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB8EBD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB8EBD | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8797BF
Deuteranopia (green-blind)
#8D99BB
Tritanopia (blue-blind)
#AA949E
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #ab8ebd; /* rgb */ color: rgb(171, 142, 189); /* oklch */ color: oklch(68.9% 0.075 312.3);
Tailwind
colors: {
custom: {
50: '#c4afd1',
500: '#ab8ebd',
950: '#000000',
},
}SCSS
$custom: #ab8ebd; $custom-light: #c4afd1; $custom-dark: #000000;
JSON
{
"hex": "#ab8ebd",
"rgb": {
"r": 171,
"g": 142,
"b": 189
},
"hsl": {
"h": 277.021,
"s": 26.257,
"l": 64.902
},
"oklch": {
"l": 0.68936,
"c": 0.07484,
"h": 312.3
},
"luminance": 0.31678
}Semantic roles & 50–950 ramp
primary
#AB8EBD
secondary
#D2DBCB
accent
#A54167
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#121014
muted
#817F82