#AB5AE9#AB5AE9

#AB5AE9 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.7% C 0.212 H 307.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AB5AE9
RGBrgb(171, 90, 233)
HSLhsl(274, 76%, 63%)
HSVhsv(274, 61%, 91%)
CMYKcmyk(26.6%, 61.4%, 0%, 8.6%)
CIE-LABlab(53.87, 57.74, -59.58)
CIE-LCHlch(53.87, 82.97, 314.10°)
OKLaboklab(62.72% 0.1289 -0.1683)
OKLCHoklch(62.72% 0.212 307.5)
XYZxyz(35.1557, 21.8539, 79.4412)
Luminance0.2185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5AE9 #98E95A
analogous
#635AE9 #AB5AE9 #E95AE0
triadic
#AB5AE9 #E9AB5A #5AE9AB
tetradic
#AB5AE9 #E9635A #98E95A #5AE0E9
square
#AB5AE9 #E9635A #98E95A #5AE0E9
split-complementary
#AB5AE9 #E0E95A #5AE963
monochromatic
#6E18B1 #9024E2 #AB5AE9 #C690F0 #E2C6F7

Accessibility & contrast

On white

3.91
#AB5AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#AB5AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5AE9
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5AE9#FFFFFF#000000##000000
##AB5AE91.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#097EED
Deuteranopia (green-blind)
#4082E6
Tritanopia (blue-blind)
#A17799
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5ae9;
/* rgb */ color: rgb(171, 90, 233);
/* oklch */ color: oklch(62.7% 0.212 307.5);
Tailwind
colors: {
  custom: {
    50: '#c88df1',
    500: '#ab5ae9',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ae9;
$custom-light: #c88df1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ae9",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 233
  },
  "hsl": {
    "h": 273.986,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.62723,
    "c": 0.212,
    "h": 307.5
  },
  "luminance": 0.21853
}

Semantic roles & 50–950 ramp

primary
#AB5AE9
secondary
#CCE9B6
accent
#D90D65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB5AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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