#AB5EB2#AB5EB2

#AB5EB2 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.2% C 0.148 H 324.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AB5EB2
RGBrgb(171, 94, 178)
HSLhsl(295, 35%, 53%)
HSVhsv(295, 47%, 70%)
CMYKcmyk(3.9%, 47.2%, 0%, 30.2%)
CIE-LABlab(51.70, 44.15, -31.62)
CIE-LCHlch(51.70, 54.30, 324.39°)
OKLaboklab(60.18% 0.1201 -0.087)
OKLCHoklch(60.18% 0.148 324.1)
XYZxyz(28.8324, 19.8790, 44.4292)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5EB2 #65B25E
analogous
#815EB2 #AB5EB2 #B25E8F
triadic
#AB5EB2 #B2AB5E #5EB2AB
tetradic
#AB5EB2 #B2815E #65B25E #5E8FB2
square
#AB5EB2 #B2815E #65B25E #5E8FB2
split-complementary
#AB5EB2 #8FB25E #5EB281
monochromatic
#613065 #88448F #AB5EB2 #C187C6 #D6B1DA

Accessibility & contrast

On white

4.22
#AB5EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#AB5EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5EB2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5EB2#FFFFFF#000000##000000
##AB5EB21.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5475B5
Deuteranopia (green-blind)
#6A7FAF
Tritanopia (blue-blind)
#AE6880
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab5eb2;
/* rgb */ color: rgb(171, 94, 178);
/* oklch */ color: oklch(60.2% 0.148 324.1);
Tailwind
colors: {
  custom: {
    50: '#c68ec9',
    500: '#ab5eb2',
    950: '#000000',
  },
}
SCSS
$custom: #ab5eb2;
$custom-light: #c68ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5eb2",
  "rgb": {
    "r": 171,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 295,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6018,
    "c": 0.14829,
    "h": 324.1
  },
  "luminance": 0.19878
}

Semantic roles & 50–950 ramp

primary
#AB5EB2
secondary
#A7C8A4
accent
#CB5C66
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AB5EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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