#AB6EEF#AB6EEF
#AB6EEF is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.9% C 0.190 H 303.4°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #AB6EEF |
|---|---|
| RGB | rgb(171, 110, 239) |
| HSL | hsl(268, 80%, 68%) |
| HSV | hsv(268, 54%, 94%) |
| CMYK | cmyk(28.5%, 54%, 0%, 6.3%) |
| CIE-LAB | lab(58.08, 48.87, -56.20) |
| CIE-LCH | lch(58.08, 74.48, 311.01°) |
| OKLab | oklab(65.91% 0.1046 -0.1584) |
| OKLCH | oklch(65.91% 0.19 303.4) |
| XYZ | xyz(37.9470, 26.0418, 84.6721) |
| Luminance | 0.2604 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 1.60
Easter Purple
#C071FE
ΔE00 3.99
Light Purple
#BF77F6
ΔE00 4.30
Lighter Purple
#A55AF4
ΔE00 4.92
Mediumpurple
#9370DB
ΔE00 5.01
Bright Lavender
#C760FF
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB6EEF #B2EF6E
analogous
#6E71EF #AB6EEF #EB6EEF
triadic
#AB6EEF #EFAB6E #6EEFAB
tetradic
#AB6EEF #EF6E71 #B2EF6E #6EEFEB
square
#AB6EEF #EF6E71 #B2EF6E #6EEFEB
split-complementary
#AB6EEF #EFEB6E #71EF6E
monochromatic
#6C17CC #8B37E9 #AB6EEF #CBA5F5 #EBDCFB
Accessibility & contrast
On white
3.38
#AB6EEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#AB6EEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB6EEF
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB6EEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB6EEF | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F8AF3
Deuteranopia (green-blind)
#538BEC
Tritanopia (blue-blind)
#9F87A4
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #ab6eef; /* rgb */ color: rgb(171, 110, 239); /* oklch */ color: oklch(65.9% 0.190 303.4);
Tailwind
colors: {
custom: {
50: '#c799f5',
500: '#ab6eef',
950: '#000000',
},
}SCSS
$custom: #ab6eef; $custom-light: #c799f5; $custom-dark: #000000;
JSON
{
"hex": "#ab6eef",
"rgb": {
"r": 171,
"g": 110,
"b": 239
},
"hsl": {
"h": 268.372,
"s": 80.124,
"l": 68.431
},
"oklch": {
"l": 0.65911,
"c": 0.18985,
"h": 303.4
},
"luminance": 0.26042
}Semantic roles & 50–950 ramp
primary
#AB6EEF
secondary
#DDF0C9
accent
#DC0978
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#130E17
muted
#827E85