#AB6FDA#AB6FDA
#AB6FDA is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.9% C 0.164 H 308.4°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #AB6FDA |
|---|---|
| RGB | rgb(171, 111, 218) |
| HSL | hsl(274, 59%, 65%) |
| HSV | hsv(274, 49%, 85%) |
| CMYK | cmyk(21.6%, 49.1%, 0%, 14.5%) |
| CIE-LAB | lab(57.16, 43.48, -45.90) |
| CIE-LCH | lch(57.16, 63.22, 313.45°) |
| OKLab | oklab(64.87% 0.1017 -0.1284) |
| OKLCH | oklch(64.87% 0.164 308.4) |
| XYZ | xyz(35.1314, 25.0892, 69.3080) |
| Luminance | 0.2509 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.27
Mediumpurple
#9370DB
ΔE00 5.12
Light Purple
#BF77F6
ΔE00 5.28
Deep Lilac
#966EBD
ΔE00 5.82
Easter Purple
#C071FE
ΔE00 5.83
Mediumorchid
#BA55D3
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB6FDA #9EDA6F
analogous
#766FDA #AB6FDA #DA6FD3
triadic
#AB6FDA #DAAB6F #6FDAAB
tetradic
#AB6FDA #DA766F #9EDA6F #6FD3DA
square
#AB6FDA #DA766F #9EDA6F #6FD3DA
split-complementary
#AB6FDA #D3DA6F #6FDA76
monochromatic
#6F2AA4 #8F3ECD #AB6FDA #C7A0E7 #E4D0F3
Accessibility & contrast
On white
3.49
#AB6FDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.02
#AB6FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB6FDA
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB6FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB6FDA | 1.00 | 3.49 | 6.02 | 6.02 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5387DE
Deuteranopia (green-blind)
#648AD7
Tritanopia (blue-blind)
#A5819A
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #ab6fda; /* rgb */ color: rgb(171, 111, 218); /* oklch */ color: oklch(64.9% 0.164 308.4);
Tailwind
colors: {
custom: {
50: '#c69ae6',
500: '#ab6fda',
950: '#000000',
},
}SCSS
$custom: #ab6fda; $custom-light: #c69ae6; $custom-dark: #000000;
JSON
{
"hex": "#ab6fda",
"rgb": {
"r": 171,
"g": 111,
"b": 218
},
"hsl": {
"h": 273.645,
"s": 59.116,
"l": 64.51
},
"oklch": {
"l": 0.6487,
"c": 0.16376,
"h": 308.4
},
"luminance": 0.25089
}Semantic roles & 50–950 ramp
primary
#AB6FDA
secondary
#D0E5C0
accent
#C71F69
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84