#AB6EFD#AB6EFD

#AB6EFD is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 66.8% C 0.206 H 300.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AB6EFD
RGBrgb(171, 110, 253)
HSLhsl(266, 97%, 71%)
HSVhsv(266, 57%, 99%)
CMYKcmyk(32.4%, 56.5%, 0%, 0.8%)
CIE-LABlab(58.88, 52.22, -62.66)
CIE-LCHlch(58.88, 81.57, 309.81°)
OKLaboklab(66.76% 0.1049 -0.1774)
OKLCHoklch(66.76% 0.206 300.6)
XYZxyz(40.0959, 26.9014, 95.9895)
Luminance0.2690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EFD #C0FD6E
analogous
#6E78FD #AB6EFD #F26EFD
triadic
#AB6EFD #FDAB6E #6EFDAB
tetradic
#AB6EFD #FD6E78 #C0FD6E #6EFDF2
square
#AB6EFD #FD6E78 #C0FD6E #6EFDF2
split-complementary
#AB6EFD #FDF26E #78FD6E
monochromatic
#6703ED #8832FC #AB6EFD #CEAAFE #EEE1FF

Accessibility & contrast

On white

3.29
#AB6EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#AB6EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EFD
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EFD#FFFFFF#000000##000000
##AB6EFD1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8DFF
Deuteranopia (green-blind)
#458DFA
Tritanopia (blue-blind)
#9A8BAB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab6efd;
/* rgb */ color: rgb(171, 110, 253);
/* oklch */ color: oklch(66.8% 0.206 300.6);
Tailwind
colors: {
  custom: {
    50: '#c89aff',
    500: '#ab6efd',
    950: '#000000',
  },
}
SCSS
$custom: #ab6efd;
$custom-light: #c89aff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6efd",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 253
  },
  "hsl": {
    "h": 265.594,
    "s": 97.279,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66764,
    "c": 0.2061,
    "h": 300.6
  },
  "luminance": 0.26902
}

Semantic roles & 50–950 ramp

primary
#AB6EFD
secondary
#E6F6D1
accent
#E60084
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB6EFD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AB6EFD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva