#AB5AE4#AB5AE4

#AB5AE4 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.4% C 0.207 H 308.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AB5AE4
RGBrgb(171, 90, 228)
HSLhsl(275, 72%, 62%)
HSVhsv(275, 61%, 89%)
CMYKcmyk(25%, 60.5%, 0%, 10.6%)
CIE-LABlab(53.57, 56.63, -57.25)
CIE-LCHlch(53.57, 80.53, 314.69°)
OKLaboklab(62.41% 0.1291 -0.1615)
OKLCHoklch(62.41% 0.207 308.6)
XYZxyz(34.4515, 21.5722, 75.7327)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5AE4 #93E45A
analogous
#665AE4 #AB5AE4 #E45AD8
triadic
#AB5AE4 #E4AB5A #5AE4AB
tetradic
#AB5AE4 #E4665A #93E45A #5AD8E4
square
#AB5AE4 #E4665A #93E45A #5AD8E4
split-complementary
#AB5AE4 #D8E45A #5AE466
monochromatic
#6E1CA8 #9025DB #AB5AE4 #C68FED #E1C3F5

Accessibility & contrast

On white

3.95
#AB5AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#AB5AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5AE4
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5AE4#FFFFFF#000000##000000
##AB5AE41.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7DE8
Deuteranopia (green-blind)
#4681E1
Tritanopia (blue-blind)
#A37597
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5ae4;
/* rgb */ color: rgb(171, 90, 228);
/* oklch */ color: oklch(62.4% 0.207 308.6);
Tailwind
colors: {
  custom: {
    50: '#c88ded',
    500: '#ab5ae4',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ae4;
$custom-light: #c88ded;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ae4",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 275.217,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62408,
    "c": 0.20672,
    "h": 308.6
  },
  "luminance": 0.21572
}

Semantic roles & 50–950 ramp

primary
#AB5AE4
secondary
#C9E6B4
accent
#D41262
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB5AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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