#AB5EEA#AB5EEA

#AB5EEA is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.3% C 0.207 H 306.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#AB5EEA
RGBrgb(171, 94, 234)
HSLhsl(273, 77%, 64%)
HSVhsv(273, 60%, 92%)
CMYKcmyk(26.9%, 59.8%, 0%, 8.2%)
CIE-LABlab(54.66, 55.99, -58.87)
CIE-LCHlch(54.66, 81.25, 313.56°)
OKLaboklab(63.32% 0.1242 -0.1662)
OKLCHoklch(63.32% 0.208 306.8)
XYZxyz(35.6455, 22.6042, 80.3112)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EEA #9DEA5E
analogous
#655EEA #AB5EEA #EA5EE3
triadic
#AB5EEA #EAAB5E #5EEAAB
tetradic
#AB5EEA #EA655E #9DEA5E #5EE3EA
square
#AB5EEA #EA655E #9DEA5E #5EE3EA
split-complementary
#AB5EEA #E3EA5E #5EEA65
monochromatic
#6F18B6 #8F28E3 #AB5EEA #C794F1 #E3CAF8

Accessibility & contrast

On white

3.80
#AB5EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#AB5EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EEA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EEA#FFFFFF#000000##000000
##AB5EEA1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B80EE
Deuteranopia (green-blind)
#4483E7
Tritanopia (blue-blind)
#A17A9B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab5eea;
/* rgb */ color: rgb(171, 94, 234);
/* oklch */ color: oklch(63.3% 0.207 306.8);
Tailwind
colors: {
  custom: {
    50: '#c88ff1',
    500: '#ab5eea',
    950: '#000000',
  },
}
SCSS
$custom: #ab5eea;
$custom-light: #c88ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5eea",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 273,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.63317,
    "c": 0.2075,
    "h": 306.8
  },
  "luminance": 0.22604
}

Semantic roles & 50–950 ramp

primary
#AB5EEA
secondary
#CFEABA
accent
#D90C69
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #AB5EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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