#AB6EA2#AB6EA2

#AB6EA2 is a light, moderate purple. Relative luminance 0.224; OKLCH L 62.0% C 0.104 H 332.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AB6EA2
RGBrgb(171, 110, 162)
HSLhsl(309, 27%, 55%)
HSVhsv(309, 36%, 67%)
CMYKcmyk(0%, 35.7%, 5.3%, 32.9%)
CIE-LABlab(54.47, 32.44, -18.04)
CIE-LCHlch(54.47, 37.12, 330.92°)
OKLaboklab(62.04% 0.0921 -0.0486)
OKLCHoklch(62.04% 0.104 332.2)
XYZxyz(28.8918, 22.4197, 36.9810)
Luminance0.2242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EA2 #6EAB77
analogous
#956EAB #AB6EA2 #AB6E84
triadic
#AB6EA2 #A2AB6E #6EA2AB
tetradic
#AB6EA2 #AB956E #6EAB77 #6E84AB
square
#AB6EA2 #AB956E #6EAB77 #6E84AB
split-complementary
#AB6EA2 #84AB6E #6EAB95
monochromatic
#643A5E #8B5183 #AB6EA2 #C195BB #D8BCD4

Accessibility & contrast

On white

3.83
#AB6EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#AB6EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EA2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EA2#FFFFFF#000000##000000
##AB6EA21.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA4
Deuteranopia (green-blind)
#7C85A0
Tritanopia (blue-blind)
#B07181
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab6ea2;
/* rgb */ color: rgb(171, 110, 162);
/* oklch */ color: oklch(62.0% 0.104 332.2);
Tailwind
colors: {
  custom: {
    50: '#c598bd',
    500: '#ab6ea2',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ea2;
$custom-light: #c598bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ea2",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 162
  },
  "hsl": {
    "h": 308.852,
    "s": 26.638,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6204,
    "c": 0.10412,
    "h": 332.2
  },
  "luminance": 0.22418
}

Semantic roles & 50–950 ramp

primary
#AB6EA2
secondary
#AEC7B1
accent
#C37365
background
#FCF9FB
surface
#F8F2F6
border
#D1CCD0
text
#130E12
muted
#827E81

Preview Lab

Preview with #AB6EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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