#AB3ECC#AB3ECC

#AB3ECC is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.6% C 0.220 H 317.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AB3ECC
RGBrgb(171, 62, 204)
HSLhsl(286, 58%, 52%)
HSVhsv(286, 70%, 80%)
CMYKcmyk(16.2%, 69.6%, 0%, 20%)
CIE-LABlab(47.58, 64.16, -53.20)
CIE-LCHlch(47.58, 83.35, 320.34°)
OKLaboklab(57.62% 0.1616 -0.1494)
OKLCHoklch(57.62% 0.22 317.2)
XYZxyz(29.4147, 16.4640, 58.7435)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3ECC #5FCC3E
analogous
#643ECC #AB3ECC #CC3EA6
triadic
#AB3ECC #CCAB3E #3ECCAB
tetradic
#AB3ECC #CC643E #5FCC3E #3EA6CC
square
#AB3ECC #CC643E #5FCC3E #3EA6CC
split-complementary
#AB3ECC #A6CC3E #3ECC64
monochromatic
#5E1E72 #862BA2 #AB3ECC #C06ED9 #D59FE6

Accessibility & contrast

On white

4.89
#AB3ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AB3ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3ECC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3ECC#FFFFFF#000000##FFFFFF
##AB3ECC1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#AA5A81
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3ecc;
/* rgb */ color: rgb(171, 62, 204);
/* oklch */ color: oklch(57.6% 0.220 317.2);
Tailwind
colors: {
  custom: {
    50: '#c87cdc',
    500: '#ab3ecc',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ecc;
$custom-light: #c87cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ecc",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 286.056,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57622,
    "c": 0.22008,
    "h": 317.2
  },
  "luminance": 0.16463
}

Semantic roles & 50–950 ramp

primary
#AB3ECC
secondary
#A2D294
accent
#E1466A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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