#AB5AED#AB5AED

#AB5AED is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 63.0% C 0.216 H 306.5°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AB5AED
RGBrgb(171, 90, 237)
HSLhsl(273, 80%, 64%)
HSVhsv(273, 62%, 93%)
CMYKcmyk(27.8%, 62%, 0%, 7.1%)
CIE-LABlab(54.12, 58.64, -61.43)
CIE-LCHlch(54.12, 84.92, 313.67°)
OKLaboklab(62.98% 0.1288 -0.1737)
OKLCHoklch(62.98% 0.216 306.5)
XYZxyz(35.7336, 22.0850, 82.4847)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5AED #9CED5A
analogous
#625AED #AB5AED #ED5AE6
triadic
#AB5AED #EDAB5A #5AEDAB
tetradic
#AB5AED #ED625A #9CED5A #5AE6ED
square
#AB5AED #ED625A #9CED5A #5AE6ED
split-complementary
#AB5AED #E6ED5A #5AED62
monochromatic
#6F14B8 #8F23E7 #AB5AED #C791F3 #E3C8F9

Accessibility & contrast

On white

3.88
#AB5AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#AB5AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5AED
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5AED#FFFFFF#000000##000000
##AB5AED1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#3C82EA
Tritanopia (blue-blind)
#A0789B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ab5aed;
/* rgb */ color: rgb(171, 90, 237);
/* oklch */ color: oklch(63.0% 0.216 306.5);
Tailwind
colors: {
  custom: {
    50: '#c88df4',
    500: '#ab5aed',
    950: '#000000',
  },
}
SCSS
$custom: #ab5aed;
$custom-light: #c88df4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5aed",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 273.061,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6298,
    "c": 0.21623,
    "h": 306.5
  },
  "luminance": 0.22085
}

Semantic roles & 50–950 ramp

primary
#AB5AED
secondary
#CFEBB8
accent
#DD0968
background
#FCF8FF
surface
#F9F0FE
border
#D2CBD6
text
#140C17
muted
#827D85

Preview Lab

Preview with #AB5AED

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

Preview Lab → · Contrast checker → · Palette generator →

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