#AB5DEA#AB5DEA

#AB5DEA is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.2% C 0.209 H 306.9°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AB5DEA
RGBrgb(171, 93, 234)
HSLhsl(273, 77%, 64%)
HSVhsv(273, 60%, 92%)
CMYKcmyk(26.9%, 60.3%, 0%, 8.2%)
CIE-LABlab(54.48, 56.49, -59.17)
CIE-LCHlch(54.48, 81.81, 313.67°)
OKLaboklab(63.18% 0.1254 -0.1671)
OKLCHoklch(63.18% 0.209 306.9)
XYZxyz(35.5571, 22.4275, 80.2817)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5DEA #9CEA5D
analogous
#655DEA #AB5DEA #EA5DE3
triadic
#AB5DEA #EAAB5D #5DEAAB
tetradic
#AB5DEA #EA655D #9CEA5D #5DE3EA
square
#AB5DEA #EA655D #9CEA5D #5DE3EA
split-complementary
#AB5DEA #E3EA5D #5DEA65
monochromatic
#6F17B5 #8F27E3 #AB5DEA #C793F1 #E3C9F8

Accessibility & contrast

On white

3.83
#AB5DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#AB5DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5DEA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5DEA#FFFFFF#000000##000000
##AB5DEA1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1780EE
Deuteranopia (green-blind)
#4383E7
Tritanopia (blue-blind)
#A1799B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab5dea;
/* rgb */ color: rgb(171, 93, 234);
/* oklch */ color: oklch(63.2% 0.209 306.9);
Tailwind
colors: {
  custom: {
    50: '#c88ff1',
    500: '#ab5dea',
    950: '#000000',
  },
}
SCSS
$custom: #ab5dea;
$custom-light: #c88ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5dea",
  "rgb": {
    "r": 171,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 273.191,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63183,
    "c": 0.20889,
    "h": 306.9
  },
  "luminance": 0.22427
}

Semantic roles & 50–950 ramp

primary
#AB5DEA
secondary
#CFEAB9
accent
#D90C68
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB5DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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