#AB5EAD#AB5EAD

#AB5EAD is a mid, vivid purple. Relative luminance 0.197; OKLCH L 59.9% C 0.143 H 326.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#AB5EAD
RGBrgb(171, 94, 173)
HSLhsl(298, 33%, 52%)
HSVhsv(298, 46%, 68%)
CMYKcmyk(1.2%, 45.7%, 0%, 32.2%)
CIE-LABlab(51.48, 43.19, -29.06)
CIE-LCHlch(51.48, 52.05, 326.07°)
OKLaboklab(59.94% 0.1192 -0.0796)
OKLCHoklch(59.94% 0.143 326.3)
XYZxyz(28.3395, 19.6819, 41.8333)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EAD #60AD5E
analogous
#845EAD #AB5EAD #AD5E88
triadic
#AB5EAD #ADAB5E #5EADAB
tetradic
#AB5EAD #AD845E #60AD5E #5E88AD
square
#AB5EAD #AD845E #60AD5E #5E88AD
split-complementary
#AB5EAD #88AD5E #5EAD84
monochromatic
#5F3160 #874588 #AB5EAD #C087C2 #D5AFD6

Accessibility & contrast

On white

4.25
#AB5EAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#AB5EAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EAD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EAD#FFFFFF#000000##000000
##AB5EAD1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5774B0
Deuteranopia (green-blind)
#6C7EAB
Tritanopia (blue-blind)
#AF667D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab5ead;
/* rgb */ color: rgb(171, 94, 173);
/* oklch */ color: oklch(59.9% 0.143 326.3);
Tailwind
colors: {
  custom: {
    50: '#c68ec5',
    500: '#ab5ead',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ead;
$custom-light: #c68ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ead",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 173
  },
  "hsl": {
    "h": 298.481,
    "s": 32.51,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5994,
    "c": 0.14336,
    "h": 326.3
  },
  "luminance": 0.1968
}

Semantic roles & 50–950 ramp

primary
#AB5EAD
secondary
#A3C5A2
accent
#C95F62
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AB5EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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