#AB5EBE#AB5EBE

#AB5EBE is a mid, vivid purple. Relative luminance 0.204; OKLCH L 60.8% C 0.161 H 319.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AB5EBE
RGBrgb(171, 94, 190)
HSLhsl(288, 42%, 56%)
HSVhsv(288, 51%, 75%)
CMYKcmyk(10%, 50.5%, 0%, 25.5%)
CIE-LABlab(52.27, 46.52, -37.68)
CIE-LCHlch(52.27, 59.86, 321.00°)
OKLaboklab(60.79% 0.1219 -0.1044)
OKLCHoklch(60.79% 0.161 319.4)
XYZxyz(30.0904, 20.3822, 51.0543)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EBE #71BE5E
analogous
#7B5EBE #AB5EBE #BE5EA1
triadic
#AB5EBE #BEAB5E #5EBEAB
tetradic
#AB5EBE #BE7B5E #71BE5E #5EA1BE
square
#AB5EBE #BE7B5E #71BE5E #5EA1BE
split-complementary
#AB5EBE #A1BE5E #5EBE7B
monochromatic
#662E73 #8C409F #AB5EBE #C28AD0 #D8B5E1

Accessibility & contrast

On white

4.14
#AB5EBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#AB5EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EBE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EBE#FFFFFF#000000##000000
##AB5EBE1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D77C1
Deuteranopia (green-blind)
#647FBB
Tritanopia (blue-blind)
#AC6B85
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab5ebe;
/* rgb */ color: rgb(171, 94, 190);
/* oklch */ color: oklch(60.8% 0.161 319.4);
Tailwind
colors: {
  custom: {
    50: '#c68ed2',
    500: '#ab5ebe',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ebe;
$custom-light: #c68ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ebe",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 190
  },
  "hsl": {
    "h": 288.125,
    "s": 42.478,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60785,
    "c": 0.1605,
    "h": 319.4
  },
  "luminance": 0.20381
}

Semantic roles & 50–950 ramp

primary
#AB5EBE
secondary
#B0D0A8
accent
#D2566E
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB5EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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