#AB5AE8#AB5AE8

#AB5AE8 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.7% C 0.211 H 307.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AB5AE8
RGBrgb(171, 90, 232)
HSLhsl(274, 76%, 63%)
HSVhsv(274, 61%, 91%)
CMYKcmyk(26.3%, 61.2%, 0%, 9%)
CIE-LABlab(53.81, 57.52, -59.12)
CIE-LCHlch(53.81, 82.48, 314.21°)
OKLaboklab(62.66% 0.129 -0.1669)
OKLCHoklch(62.66% 0.211 307.7)
XYZxyz(35.0132, 21.7969, 78.6910)
Luminance0.2180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5AE8 #97E85A
analogous
#645AE8 #AB5AE8 #E85ADE
triadic
#AB5AE8 #E8AB5A #5AE8AB
tetradic
#AB5AE8 #E8645A #97E85A #5ADEE8
square
#AB5AE8 #E8645A #97E85A #5ADEE8
split-complementary
#AB5AE8 #DEE85A #5AE864
monochromatic
#6E18AF #9024E1 #AB5AE8 #C690EF #E2C5F7

Accessibility & contrast

On white

3.92
#AB5AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#AB5AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5AE8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5AE8#FFFFFF#000000##000000
##AB5AE81.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E7EEC
Deuteranopia (green-blind)
#4181E5
Tritanopia (blue-blind)
#A27699
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5ae8;
/* rgb */ color: rgb(171, 90, 232);
/* oklch */ color: oklch(62.7% 0.211 307.7);
Tailwind
colors: {
  custom: {
    50: '#c88df0',
    500: '#ab5ae8',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ae8;
$custom-light: #c88df0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ae8",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 274.225,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6266,
    "c": 0.21094,
    "h": 307.7
  },
  "luminance": 0.21796
}

Semantic roles & 50–950 ramp

primary
#AB5AE8
secondary
#CBE8B5
accent
#D80E65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB5AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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