#AB3EC1#AB3EC1

#AB3EC1 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 56.9% C 0.210 H 320.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#AB3EC1
RGBrgb(171, 62, 193)
HSLhsl(290, 51%, 50%)
HSVhsv(290, 68%, 76%)
CMYKcmyk(11.4%, 67.9%, 0%, 24.3%)
CIE-LABlab(46.92, 62.07, -47.90)
CIE-LCHlch(46.92, 78.40, 322.34°)
OKLaboklab(56.94% 0.1622 -0.1339)
OKLCHoklch(56.94% 0.21 320.5)
XYZxyz(28.1417, 15.9548, 52.0390)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EC1 #54C13E
analogous
#6A3EC1 #AB3EC1 #C13E95
triadic
#AB3EC1 #C1AB3E #3EC1AB
tetradic
#AB3EC1 #C16A3E #54C13E #3E95C1
square
#AB3EC1 #C16A3E #54C13E #3E95C1
split-complementary
#AB3EC1 #95C13E #3EC16A
monochromatic
#592064 #822F93 #AB3EC1 #BF6CD0 #D39BDF

Accessibility & contrast

On white

5.01
#AB3EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#AB3EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EC1
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EC1#FFFFFF#000000##FFFFFF
##AB3EC11.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B68C5
Deuteranopia (green-blind)
#4B73BE
Tritanopia (blue-blind)
#AC557B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab3ec1;
/* rgb */ color: rgb(171, 62, 193);
/* oklch */ color: oklch(56.9% 0.210 320.5);
Tailwind
colors: {
  custom: {
    50: '#c87cd4',
    500: '#ab3ec1',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ec1;
$custom-light: #c87cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ec1",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 193
  },
  "hsl": {
    "h": 289.924,
    "s": 51.373,
    "l": 50
  },
  "oklch": {
    "l": 0.56935,
    "c": 0.2103,
    "h": 320.5
  },
  "luminance": 0.15953
}

Semantic roles & 50–950 ramp

primary
#AB3EC1
secondary
#9ACB90
accent
#DB4D65
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#130A14
muted
#827C83

Preview Lab

Preview with #AB3EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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