#AB6DA2#AB6DA2

#AB6DA2 is a mid, moderate purple. Relative luminance 0.222; OKLCH L 61.9% C 0.106 H 332.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AB6DA2
RGBrgb(171, 109, 162)
HSLhsl(309, 27%, 55%)
HSVhsv(309, 36%, 67%)
CMYKcmyk(0%, 36.3%, 5.3%, 32.9%)
CIE-LABlab(54.24, 33.00, -18.39)
CIE-LCHlch(54.24, 37.77, 330.87°)
OKLaboklab(61.87% 0.0937 -0.0496)
OKLCHoklch(61.87% 0.106 332.1)
XYZxyz(28.7845, 22.2052, 36.9452)
Luminance0.2220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6DA2 #6DAB76
analogous
#956DAB #AB6DA2 #AB6D83
triadic
#AB6DA2 #A2AB6D #6DA2AB
tetradic
#AB6DA2 #AB956D #6DAB76 #6D83AB
square
#AB6DA2 #AB956D #6DAB76 #6D83AB
split-complementary
#AB6DA2 #83AB6D #6DAB95
monochromatic
#643A5E #8B5082 #AB6DA2 #C194BB #D8BBD3

Accessibility & contrast

On white

3.86
#AB6DA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#AB6DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6DA2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6DA2#FFFFFF#000000##000000
##AB6DA21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7CA4
Deuteranopia (green-blind)
#7B85A0
Tritanopia (blue-blind)
#B07180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ab6da2;
/* rgb */ color: rgb(171, 109, 162);
/* oklch */ color: oklch(61.9% 0.106 332.1);
Tailwind
colors: {
  custom: {
    50: '#c598bd',
    500: '#ab6da2',
    950: '#000000',
  },
}
SCSS
$custom: #ab6da2;
$custom-light: #c598bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6da2",
  "rgb": {
    "r": 171,
    "g": 109,
    "b": 162
  },
  "hsl": {
    "h": 308.71,
    "s": 26.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6187,
    "c": 0.10596,
    "h": 332.1
  },
  "luminance": 0.22204
}

Semantic roles & 50–950 ramp

primary
#AB6DA2
secondary
#ADC7B1
accent
#C37264
background
#FCF9FB
surface
#F8F2F6
border
#D1CCD0
text
#130E12
muted
#827E81

Preview Lab

Preview with #AB6DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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