#AB3EC9#AB3EC9

#AB3EC9 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.4% C 0.217 H 318.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AB3EC9
RGBrgb(171, 62, 201)
HSLhsl(287, 56%, 52%)
HSVhsv(287, 69%, 79%)
CMYKcmyk(14.9%, 69.2%, 0%, 21.2%)
CIE-LABlab(47.39, 63.59, -51.76)
CIE-LCHlch(47.39, 81.99, 320.85°)
OKLaboklab(57.43% 0.1618 -0.1452)
OKLCHoklch(57.43% 0.217 318.1)
XYZxyz(29.0584, 16.3215, 56.8667)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EC9 #5CC93E
analogous
#663EC9 #AB3EC9 #C93EA2
triadic
#AB3EC9 #C9AB3E #3EC9AB
tetradic
#AB3EC9 #C9663E #5CC93E #3EA2C9
square
#AB3EC9 #C9663E #5CC93E #3EA2C9
split-complementary
#AB3EC9 #A2C93E #3EC966
monochromatic
#5D1F6E #852C9E #AB3EC9 #C06ED6 #D59EE4

Accessibility & contrast

On white

4.92
#AB3EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AB3EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EC9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EC9#FFFFFF#000000##FFFFFF
##AB3EC91.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#4474C6
Tritanopia (blue-blind)
#AA597F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3ec9;
/* rgb */ color: rgb(171, 62, 201);
/* oklch */ color: oklch(57.4% 0.217 318.1);
Tailwind
colors: {
  custom: {
    50: '#c87cda',
    500: '#ab3ec9',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ec9;
$custom-light: #c87cda;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ec9",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 201
  },
  "hsl": {
    "h": 287.05,
    "s": 56.275,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57432,
    "c": 0.2174,
    "h": 318.1
  },
  "luminance": 0.1632
}

Semantic roles & 50–950 ramp

primary
#AB3EC9
secondary
#A0D093
accent
#E04869
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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