#AB5AE2#AB5AE2

#AB5AE2 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.3% C 0.205 H 309.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AB5AE2
RGBrgb(171, 90, 226)
HSLhsl(276, 70%, 62%)
HSVhsv(276, 60%, 89%)
CMYKcmyk(24.3%, 60.2%, 0%, 11.4%)
CIE-LABlab(53.45, 56.19, -56.32)
CIE-LCHlch(53.45, 79.55, 314.93°)
OKLaboklab(62.28% 0.1291 -0.1587)
OKLCHoklch(62.28% 0.205 309.1)
XYZxyz(34.1755, 21.4618, 74.2789)
Luminance0.2146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5AE2 #91E25A
analogous
#675AE2 #AB5AE2 #E25AD5
triadic
#AB5AE2 #E2AB5A #5AE2AB
tetradic
#AB5AE2 #E2675A #91E25A #5AD5E2
square
#AB5AE2 #E2675A #91E25A #5AD5E2
split-complementary
#AB5AE2 #D5E25A #5AE267
monochromatic
#6E1DA5 #9026D9 #AB5AE2 #C58EEB #E0C2F4

Accessibility & contrast

On white

3.97
#AB5AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#AB5AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5AE2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5AE2#FFFFFF#000000##000000
##AB5AE21.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7CE6
Deuteranopia (green-blind)
#4881DF
Tritanopia (blue-blind)
#A37496
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ab5ae2;
/* rgb */ color: rgb(171, 90, 226);
/* oklch */ color: oklch(62.3% 0.205 309.1);
Tailwind
colors: {
  custom: {
    50: '#c88dec',
    500: '#ab5ae2',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ae2;
$custom-light: #c88dec;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ae2",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 275.735,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62283,
    "c": 0.20459,
    "h": 309.1
  },
  "luminance": 0.21461
}

Semantic roles & 50–950 ramp

primary
#AB5AE2
secondary
#C7E5B3
accent
#D21361
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #AB5AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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