#AB5AE6#AB5AE6

#AB5AE6 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.5% C 0.209 H 308.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AB5AE6
RGBrgb(171, 90, 230)
HSLhsl(275, 74%, 63%)
HSVhsv(275, 61%, 90%)
CMYKcmyk(25.7%, 60.9%, 0%, 9.8%)
CIE-LABlab(53.69, 57.07, -58.19)
CIE-LCHlch(53.69, 81.51, 314.45°)
OKLaboklab(62.53% 0.129 -0.1642)
OKLCHoklch(62.53% 0.209 308.2)
XYZxyz(34.7308, 21.6839, 77.2034)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5AE6 #95E65A
analogous
#655AE6 #AB5AE6 #E65ADB
triadic
#AB5AE6 #E6AB5A #5AE6AB
tetradic
#AB5AE6 #E6655A #95E65A #5ADBE6
square
#AB5AE6 #E6655A #95E65A #5ADBE6
split-complementary
#AB5AE6 #DBE65A #5AE665
monochromatic
#6E1AAC #9025DE #AB5AE6 #C68FEE #E1C4F6

Accessibility & contrast

On white

3.94
#AB5AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#AB5AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5AE6
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5AE6#FFFFFF#000000##000000
##AB5AE61.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#157DEA
Deuteranopia (green-blind)
#4481E3
Tritanopia (blue-blind)
#A27698
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5ae6;
/* rgb */ color: rgb(171, 90, 230);
/* oklch */ color: oklch(62.5% 0.209 308.2);
Tailwind
colors: {
  custom: {
    50: '#c88def',
    500: '#ab5ae6',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ae6;
$custom-light: #c88def;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ae6",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 274.714,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62533,
    "c": 0.20882,
    "h": 308.2
  },
  "luminance": 0.21683
}

Semantic roles & 50–950 ramp

primary
#AB5AE6
secondary
#CAE7B5
accent
#D61063
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB5AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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