#AB3ECB#AB3ECB

#AB3ECB is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.219 H 317.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#AB3ECB
RGBrgb(171, 62, 203)
HSLhsl(286, 58%, 52%)
HSVhsv(286, 69%, 80%)
CMYKcmyk(15.8%, 69.5%, 0%, 20.4%)
CIE-LABlab(47.52, 63.97, -52.72)
CIE-LCHlch(47.52, 82.90, 320.51°)
OKLaboklab(57.56% 0.1616 -0.148)
OKLCHoklch(57.56% 0.219 317.5)
XYZxyz(29.2952, 16.4162, 58.1139)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3ECB #5ECB3E
analogous
#653ECB #AB3ECB #CB3EA5
triadic
#AB3ECB #CBAB3E #3ECBAB
tetradic
#AB3ECB #CB653E #5ECB3E #3EA5CB
square
#AB3ECB #CB653E #5ECB3E #3EA5CB
split-complementary
#AB3ECB #A5CB3E #3ECB65
monochromatic
#5E1E70 #862BA1 #AB3ECB #C06ED8 #D59EE5

Accessibility & contrast

On white

4.90
#AB3ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AB3ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3ECB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3ECB#FFFFFF#000000##FFFFFF
##AB3ECB1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#4274C8
Tritanopia (blue-blind)
#AA5980
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3ecb;
/* rgb */ color: rgb(171, 62, 203);
/* oklch */ color: oklch(57.6% 0.219 317.5);
Tailwind
colors: {
  custom: {
    50: '#c87cdb',
    500: '#ab3ecb',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ecb;
$custom-light: #c87cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ecb",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 203
  },
  "hsl": {
    "h": 286.383,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57558,
    "c": 0.21919,
    "h": 317.5
  },
  "luminance": 0.16415
}

Semantic roles & 50–950 ramp

primary
#AB3ECB
secondary
#A2D194
accent
#E1476A
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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