#AB6FDB#AB6FDB
#AB6FDB is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.9% C 0.165 H 308.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AB6FDB |
|---|---|
| RGB | rgb(171, 111, 219) |
| HSL | hsl(273, 60%, 65%) |
| HSV | hsv(273, 49%, 86%) |
| CMYK | cmyk(21.9%, 49.3%, 0%, 14.1%) |
| CIE-LAB | lab(57.21, 43.70, -46.38) |
| CIE-LCH | lch(57.21, 63.73, 313.30°) |
| OKLab | oklab(64.93% 0.1018 -0.1298) |
| OKLCH | oklch(64.93% 0.165 308.1) |
| XYZ | xyz(35.2627, 25.1417, 69.9993) |
| Luminance | 0.2514 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.10
Mediumpurple
#9370DB
ΔE00 5.06
Light Purple
#BF77F6
ΔE00 5.18
Easter Purple
#C071FE
ΔE00 5.70
Deep Lilac
#966EBD
ΔE00 5.94
Mediumorchid
#BA55D3
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB6FDB #9FDB6F
analogous
#756FDB #AB6FDB #DB6FD5
triadic
#AB6FDB #DBAB6F #6FDBAB
tetradic
#AB6FDB #DB756F #9FDB6F #6FD5DB
square
#AB6FDB #DB756F #9FDB6F #6FD5DB
split-complementary
#AB6FDB #D5DB6F #6FDB75
monochromatic
#6F2AA6 #8E3ECF #AB6FDB #C8A0E7 #E4D1F3
Accessibility & contrast
On white
3.48
#AB6FDB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#AB6FDB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB6FDB
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB6FDB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB6FDB | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5287DF
Deuteranopia (green-blind)
#638AD8
Tritanopia (blue-blind)
#A4819B
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #ab6fdb; /* rgb */ color: rgb(171, 111, 219); /* oklch */ color: oklch(64.9% 0.165 308.1);
Tailwind
colors: {
custom: {
50: '#c69ae6',
500: '#ab6fdb',
950: '#000000',
},
}SCSS
$custom: #ab6fdb; $custom-light: #c69ae6; $custom-dark: #000000;
JSON
{
"hex": "#ab6fdb",
"rgb": {
"r": 171,
"g": 111,
"b": 219
},
"hsl": {
"h": 273.333,
"s": 60,
"l": 64.706
},
"oklch": {
"l": 0.64925,
"c": 0.16492,
"h": 308.1
},
"luminance": 0.25141
}Semantic roles & 50–950 ramp
primary
#AB6FDB
secondary
#D1E5C0
accent
#C81E69
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84