#AB7BDA#AB7BDA
#AB7BDA is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.8% C 0.144 H 306.2°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7BDA |
|---|---|
| RGB | rgb(171, 123, 218) |
| HSL | hsl(270, 56%, 67%) |
| HSV | hsv(270, 44%, 85%) |
| CMYK | cmyk(21.6%, 43.6%, 0%, 14.5%) |
| CIE-LAB | lab(59.79, 36.87, -41.76) |
| CIE-LCH | lch(59.79, 55.71, 311.44°) |
| OKLab | oklab(66.83% 0.0851 -0.1164) |
| OKLCH | oklch(66.83% 0.144 306.2) |
| XYZ | xyz(36.5299, 27.8861, 69.7742) |
| Luminance | 0.2789 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 4.93
Light Purple
#BF77F6
ΔE00 5.15
Light Urple
#B36FF6
ΔE00 5.46
Mediumpurple
#9370DB
ΔE00 5.95
Easter Purple
#C071FE
ΔE00 6.43
Deep Lilac
#966EBD
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7BDA #AADA7B
analogous
#7C7BDA #AB7BDA #DA7BD9
triadic
#AB7BDA #DAAB7B #7BDAAB
tetradic
#AB7BDA #DA7C7B #AADA7B #7BD9DA
square
#AB7BDA #DA7C7B #AADA7B #7BD9DA
split-complementary
#AB7BDA #D9DA7B #7BDA7C
monochromatic
#6E30AB #8D4BCD #AB7BDA #C9ABE7 #E8DBF5
Accessibility & contrast
On white
3.19
#AB7BDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#AB7BDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7BDA
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7BDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7BDA | 1.00 | 3.19 | 6.58 | 6.58 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#648EDD
Deuteranopia (green-blind)
#6F90D7
Tritanopia (blue-blind)
#A48AA0
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #ab7bda; /* rgb */ color: rgb(171, 123, 218); /* oklch */ color: oklch(66.8% 0.144 306.2);
Tailwind
colors: {
custom: {
50: '#c6a2e6',
500: '#ab7bda',
950: '#000000',
},
}SCSS
$custom: #ab7bda; $custom-light: #c6a2e6; $custom-dark: #000000;
JSON
{
"hex": "#ab7bda",
"rgb": {
"r": 171,
"g": 123,
"b": 218
},
"hsl": {
"h": 270.316,
"s": 56.213,
"l": 66.863
},
"oklch": {
"l": 0.66831,
"c": 0.14418,
"h": 306.2
},
"luminance": 0.27886
}Semantic roles & 50–950 ramp
primary
#AB7BDA
secondary
#D8E8C9
accent
#C42272
background
#FCFAFE
surface
#F8F3FC
border
#D1CDD5
text
#130F16
muted
#827F84