#AB3ECD#AB3ECD

#AB3ECD is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.7% C 0.221 H 317.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#AB3ECD
RGBrgb(171, 62, 205)
HSLhsl(286, 59%, 52%)
HSVhsv(286, 70%, 80%)
CMYKcmyk(16.6%, 69.8%, 0%, 19.6%)
CIE-LABlab(47.64, 64.36, -53.68)
CIE-LCHlch(47.64, 83.80, 320.17°)
OKLaboklab(57.69% 0.1615 -0.1508)
OKLCHoklch(57.69% 0.221 317)
XYZxyz(29.5350, 16.5122, 59.3772)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3ECD #60CD3E
analogous
#633ECD #AB3ECD #CD3EA8
triadic
#AB3ECD #CDAB3E #3ECDAB
tetradic
#AB3ECD #CD633E #60CD3E #3EA8CD
square
#AB3ECD #CD633E #60CD3E #3EA8CD
split-complementary
#AB3ECD #A8CD3E #3ECD63
monochromatic
#5F1E73 #872AA3 #AB3ECD #C06FDA #D59FE6

Accessibility & contrast

On white

4.88
#AB3ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#AB3ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3ECD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3ECD#FFFFFF#000000##FFFFFF
##AB3ECD1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#A95A81
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3ecd;
/* rgb */ color: rgb(171, 62, 205);
/* oklch */ color: oklch(57.7% 0.221 317.0);
Tailwind
colors: {
  custom: {
    50: '#c87cdd',
    500: '#ab3ecd',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ecd;
$custom-light: #c87cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ecd",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 205
  },
  "hsl": {
    "h": 285.734,
    "s": 58.848,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57686,
    "c": 0.22098,
    "h": 317
  },
  "luminance": 0.16511
}

Semantic roles & 50–950 ramp

primary
#AB3ECD
secondary
#A3D394
accent
#E2466B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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