#AB7FC2#AB7FC2
#AB7FC2 is a light, moderate violet. Relative luminance 0.277; OKLCH L 66.4% C 0.108 H 313.6°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AB7FC2 |
|---|---|
| RGB | rgb(171, 127, 194) |
| HSL | hsl(279, 35%, 63%) |
| HSV | hsv(279, 35%, 76%) |
| CMYK | cmyk(11.9%, 34.5%, 0%, 23.9%) |
| CIE-LAB | lab(59.65, 29.29, -28.45) |
| CIE-LCH | lch(59.65, 40.84, 315.83°) |
| OKLab | oklab(66.38% 0.0744 -0.0781) |
| OKLCH | oklch(66.38% 0.108 313.6) |
| XYZ | xyz(34.1200, 27.7323, 54.5839) |
| Luminance | 0.2773 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 0.92
Soft Purple
#A66FB5
ΔE00 4.90
Pale Purple
#B790D4
ΔE00 5.19
Heather
#A484AC
ΔE00 6.40
Orchid (survey)
#C875C4
ΔE00 6.71
Deep Lilac
#966EBD
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB7FC2 #96C27F
analogous
#897FC2 #AB7FC2 #C27FB7
triadic
#AB7FC2 #C2AB7F #7FC2AB
tetradic
#AB7FC2 #C2897F #96C27F #7FB7C2
square
#AB7FC2 #C2897F #96C27F #7FB7C2
split-complementary
#AB7FC2 #B7C27F #7FC289
monochromatic
#6E4087 #9056AE #AB7FC2 #C6A8D6 #E1D2EA
Accessibility & contrast
On white
3.21
#AB7FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.55
#AB7FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB7FC2
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB7FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB7FC2 | 1.00 | 3.21 | 6.55 | 6.55 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#748DC5
Deuteranopia (green-blind)
#7E91C0
Tritanopia (blue-blind)
#A98898
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #ab7fc2; /* rgb */ color: rgb(171, 127, 194); /* oklch */ color: oklch(66.4% 0.108 313.6);
Tailwind
colors: {
custom: {
50: '#c5a4d4',
500: '#ab7fc2',
950: '#000000',
},
}SCSS
$custom: #ab7fc2; $custom-light: #c5a4d4; $custom-dark: #000000;
JSON
{
"hex": "#ab7fc2",
"rgb": {
"r": 171,
"g": 127,
"b": 194
},
"hsl": {
"h": 279.403,
"s": 35.45,
"l": 62.941
},
"oklch": {
"l": 0.66378,
"c": 0.10788,
"h": 313.6
},
"luminance": 0.27732
}Semantic roles & 50–950 ramp
primary
#AB7FC2
secondary
#CBDAC2
accent
#AE3760
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F14
muted
#827F83