#AB6FDE#AB6FDE
#AB6FDE is a light, vivid violet. Relative luminance 0.253; OKLCH L 65.1% C 0.168 H 307.3°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #AB6FDE |
|---|---|
| RGB | rgb(171, 111, 222) |
| HSL | hsl(272, 63%, 65%) |
| HSV | hsv(272, 50%, 87%) |
| CMYK | cmyk(23%, 50%, 0%, 12.9%) |
| CIE-LAB | lab(57.37, 44.39, -47.83) |
| CIE-LCH | lch(57.37, 65.25, 312.86°) |
| OKLab | oklab(65.09% 0.1021 -0.134) |
| OKLCH | oklch(65.09% 0.168 307.3) |
| XYZ | xyz(35.6612, 25.3011, 72.0980) |
| Luminance | 0.2530 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.63
Mediumpurple
#9370DB
ΔE00 4.90
Light Purple
#BF77F6
ΔE00 4.90
Easter Purple
#C071FE
ΔE00 5.34
Lighter Purple
#A55AF4
ΔE00 6.24
Deep Lilac
#966EBD
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB6FDE #A2DE6F
analogous
#736FDE #AB6FDE #DE6FDA
triadic
#AB6FDE #DEAB6F #6FDEAB
tetradic
#AB6FDE #DE736F #A2DE6F #6FDADE
square
#AB6FDE #DE736F #A2DE6F #6FDADE
split-complementary
#AB6FDE #DADE6F #6FDE73
monochromatic
#6F27AB #8E3DD3 #AB6FDE #C8A1E9 #E5D3F5
Accessibility & contrast
On white
3.47
#AB6FDE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#AB6FDE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB6FDE
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB6FDE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB6FDE | 1.00 | 3.47 | 6.06 | 6.06 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5087E2
Deuteranopia (green-blind)
#618ADB
Tritanopia (blue-blind)
#A3829C
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #ab6fde; /* rgb */ color: rgb(171, 111, 222); /* oklch */ color: oklch(65.1% 0.168 307.3);
Tailwind
colors: {
custom: {
50: '#c69ae9',
500: '#ab6fde',
950: '#000000',
},
}SCSS
$custom: #ab6fde; $custom-light: #c69ae9; $custom-dark: #000000;
JSON
{
"hex": "#ab6fde",
"rgb": {
"r": 171,
"g": 111,
"b": 222
},
"hsl": {
"h": 272.432,
"s": 62.712,
"l": 65.294
},
"oklch": {
"l": 0.6509,
"c": 0.16843,
"h": 307.3
},
"luminance": 0.25301
}Semantic roles & 50–950 ramp
primary
#AB6FDE
secondary
#D3E7C2
accent
#CA1B6C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84