#AB3EC8#AB3EC8

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

Color values

HEX#AB3EC8
RGBrgb(171, 62, 200)
HSLhsl(287, 56%, 51%)
HSVhsv(287, 69%, 78%)
CMYKcmyk(14.5%, 69%, 0%, 21.6%)
CIE-LABlab(47.33, 63.39, -51.28)
CIE-LCHlch(47.33, 81.54, 321.03°)
OKLaboklab(57.37% 0.1618 -0.1438)
OKLCHoklch(57.37% 0.217 318.4)
XYZxyz(28.9411, 16.2746, 56.2492)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EC8 #5BC83E
analogous
#663EC8 #AB3EC8 #C83EA0
triadic
#AB3EC8 #C8AB3E #3EC8AB
tetradic
#AB3EC8 #C8663E #5BC83E #3EA0C8
square
#AB3EC8 #C8663E #5BC83E #3EA0C8
split-complementary
#AB3EC8 #A0C83E #3EC866
monochromatic
#5C1F6D #852D9C #AB3EC8 #C06ED6 #D49DE3

Accessibility & contrast

On white

4.94
#AB3EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#AB3EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EC8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EC8#FFFFFF#000000##FFFFFF
##AB3EC81.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#4574C5
Tritanopia (blue-blind)
#AA587F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3ec8;
/* rgb */ color: rgb(171, 62, 200);
/* oklch */ color: oklch(57.4% 0.217 318.4);
Tailwind
colors: {
  custom: {
    50: '#c87cd9',
    500: '#ab3ec8',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ec8;
$custom-light: #c87cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ec8",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 200
  },
  "hsl": {
    "h": 287.391,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57369,
    "c": 0.21651,
    "h": 318.4
  },
  "luminance": 0.16273
}

Semantic roles & 50–950 ramp

primary
#AB3EC8
secondary
#9FCF92
accent
#DF4968
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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