#AB5EBD#AB5EBD

#AB5EBD is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.7% C 0.159 H 319.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AB5EBD
RGBrgb(171, 94, 189)
HSLhsl(289, 42%, 55%)
HSVhsv(289, 50%, 74%)
CMYKcmyk(9.5%, 50.3%, 0%, 25.9%)
CIE-LABlab(52.22, 46.32, -37.18)
CIE-LCHlch(52.22, 59.39, 321.25°)
OKLaboklab(60.73% 0.1218 -0.103)
OKLCHoklch(60.73% 0.159 319.8)
XYZxyz(29.9814, 20.3386, 50.4807)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EBD #70BD5E
analogous
#7C5EBD #AB5EBD #BD5E9F
triadic
#AB5EBD #BDAB5E #5EBDAB
tetradic
#AB5EBD #BD7C5E #70BD5E #5E9FBD
square
#AB5EBD #BD7C5E #70BD5E #5E9FBD
split-complementary
#AB5EBD #9FBD5E #5EBD7C
monochromatic
#652F72 #8C409D #AB5EBD #C289CF #D8B5E1

Accessibility & contrast

On white

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

On black

5.07
#AB5EBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EBD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EBD#FFFFFF#000000##000000
##AB5EBD1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E77C0
Deuteranopia (green-blind)
#657FBA
Tritanopia (blue-blind)
#AC6B85
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab5ebd;
/* rgb */ color: rgb(171, 94, 189);
/* oklch */ color: oklch(60.7% 0.159 319.8);
Tailwind
colors: {
  custom: {
    50: '#c68ed1',
    500: '#ab5ebd',
    950: '#000000',
  },
}
SCSS
$custom: #ab5ebd;
$custom-light: #c68ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5ebd",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 189
  },
  "hsl": {
    "h": 288.632,
    "s": 41.85,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60733,
    "c": 0.15946,
    "h": 319.8
  },
  "luminance": 0.20337
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB5EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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