#AB3ECA#AB3ECA

#AB3ECA is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.5% C 0.218 H 317.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AB3ECA
RGBrgb(171, 62, 202)
HSLhsl(287, 57%, 52%)
HSVhsv(287, 69%, 79%)
CMYKcmyk(15.3%, 69.3%, 0%, 20.8%)
CIE-LABlab(47.45, 63.78, -52.24)
CIE-LCHlch(47.45, 82.44, 320.68°)
OKLaboklab(57.5% 0.1617 -0.1466)
OKLCHoklch(57.5% 0.218 317.8)
XYZxyz(29.1764, 16.3687, 57.4883)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3ECA #5DCA3E
analogous
#653ECA #AB3ECA #CA3EA3
triadic
#AB3ECA #CAAB3E #3ECAAB
tetradic
#AB3ECA #CA653E #5DCA3E #3EA3CA
square
#AB3ECA #CA653E #5DCA3E #3EA3CA
split-complementary
#AB3ECA #A3CA3E #3ECA65
monochromatic
#5D1F6F #862C9F #AB3ECA #C06ED7 #D59EE4

Accessibility & contrast

On white

4.91
#AB3ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AB3ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3ECA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3ECA#FFFFFF#000000##FFFFFF
##AB3ECA1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#4374C7
Tritanopia (blue-blind)
#AA5980
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3eca;
/* rgb */ color: rgb(171, 62, 202);
/* oklch */ color: oklch(57.5% 0.218 317.8);
Tailwind
colors: {
  custom: {
    50: '#c87cdb',
    500: '#ab3eca',
    950: '#000000',
  },
}
SCSS
$custom: #ab3eca;
$custom-light: #c87cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3eca",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 286.714,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57495,
    "c": 0.21829,
    "h": 317.8
  },
  "luminance": 0.16367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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