#AB5EE9#AB5EE9

#AB5EE9 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.3% C 0.206 H 307.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AB5EE9
RGBrgb(171, 94, 233)
HSLhsl(273, 76%, 64%)
HSVhsv(273, 60%, 91%)
CMYKcmyk(26.6%, 59.7%, 0%, 8.6%)
CIE-LABlab(54.60, 55.77, -58.41)
CIE-LCHlch(54.60, 80.76, 313.67°)
OKLaboklab(63.25% 0.1242 -0.1649)
OKLCHoklch(63.25% 0.206 307)
XYZxyz(35.5022, 22.5469, 79.5567)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EE9 #9CE95E
analogous
#665EE9 #AB5EE9 #E95EE2
triadic
#AB5EE9 #E9AB5E #5EE9AB
tetradic
#AB5EE9 #E9665E #9CE95E #5EE2E9
square
#AB5EE9 #E9665E #9CE95E #5EE2E9
split-complementary
#AB5EE9 #E2E95E #5EE966
monochromatic
#6F19B4 #8F28E2 #AB5EE9 #C794F0 #E3CAF8

Accessibility & contrast

On white

3.81
#AB5EE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#AB5EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EE9
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EE9#FFFFFF#000000##000000
##AB5EE91.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E80ED
Deuteranopia (green-blind)
#4583E6
Tritanopia (blue-blind)
#A1799B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ab5ee9;
/* rgb */ color: rgb(171, 94, 233);
/* oklch */ color: oklch(63.3% 0.206 307.0);
Tailwind
colors: {
  custom: {
    50: '#c88ff1',
    500: '#ab5ee9',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ee9;
$custom-light: #c88ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ee9",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 233
  },
  "hsl": {
    "h": 273.237,
    "s": 75.956,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63254,
    "c": 0.20642,
    "h": 307
  },
  "luminance": 0.22547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB5EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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