#AB6EC2#AB6EC2

#AB6EC2 is a light, vivid purple. Relative luminance 0.237; OKLCH L 63.5% C 0.138 H 316.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AB6EC2
RGBrgb(171, 110, 194)
HSLhsl(284, 41%, 60%)
HSVhsv(284, 43%, 76%)
CMYKcmyk(11.9%, 43.3%, 0%, 23.9%)
CIE-LABlab(55.79, 38.77, -34.45)
CIE-LCHlch(55.79, 51.86, 318.38°)
OKLaboklab(63.47% 0.0996 -0.0952)
OKLCHoklch(63.47% 0.138 316.3)
XYZxyz(32.1067, 23.7057, 53.9128)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB6EC2 #85C26E
analogous
#816EC2 #AB6EC2 #C26EAF
triadic
#AB6EC2 #C2AB6E #6EC2AB
tetradic
#AB6EC2 #C2816E #85C26E #6EAFC2
square
#AB6EC2 #C2816E #85C26E #6EAFC2
split-complementary
#AB6EC2 #AFC26E #6EC281
monochromatic
#6C3680 #9048AB #AB6EC2 #C499D4 #DDC4E6

Accessibility & contrast

On white

3.66
#AB6EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#AB6EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB6EC2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB6EC2#FFFFFF#000000##000000
##AB6EC21.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F82C5
Deuteranopia (green-blind)
#7088C0
Tritanopia (blue-blind)
#AA798F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ab6ec2;
/* rgb */ color: rgb(171, 110, 194);
/* oklch */ color: oklch(63.5% 0.138 316.3);
Tailwind
colors: {
  custom: {
    50: '#c599d4',
    500: '#ab6ec2',
    950: '#000000',
  },
}
SCSS
$custom: #ab6ec2;
$custom-light: #c599d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab6ec2",
  "rgb": {
    "r": 171,
    "g": 110,
    "b": 194
  },
  "hsl": {
    "h": 283.571,
    "s": 40.777,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63471,
    "c": 0.13776,
    "h": 316.3
  },
  "luminance": 0.23705
}

Semantic roles & 50–950 ramp

primary
#AB6EC2
secondary
#BFD6B6
accent
#D15778
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #AB6EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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