#AB3ECE#AB3ECE

#AB3ECE is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.8% C 0.222 H 316.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AB3ECE
RGBrgb(171, 62, 206)
HSLhsl(285, 60%, 53%)
HSVhsv(285, 70%, 81%)
CMYKcmyk(17%, 69.9%, 0%, 19.2%)
CIE-LABlab(47.70, 64.55, -54.15)
CIE-LCHlch(47.70, 84.26, 320.01°)
OKLaboklab(57.75% 0.1614 -0.1522)
OKLCHoklch(57.75% 0.222 316.7)
XYZxyz(29.6561, 16.5606, 60.0149)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3ECE #61CE3E
analogous
#633ECE #AB3ECE #CE3EA9
triadic
#AB3ECE #CEAB3E #3ECEAB
tetradic
#AB3ECE #CE633E #61CE3E #3EA9CE
square
#AB3ECE #CE633E #61CE3E #3EA9CE
split-complementary
#AB3ECE #A9CE3E #3ECE63
monochromatic
#5F1D74 #872AA5 #AB3ECE #C06FDA #D5A0E7

Accessibility & contrast

On white

4.87
#AB3ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AB3ECE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3ECE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3ECE#FFFFFF#000000##FFFFFF
##AB3ECE1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#3F74CB
Tritanopia (blue-blind)
#A95B82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3ece;
/* rgb */ color: rgb(171, 62, 206);
/* oklch */ color: oklch(57.8% 0.222 316.7);
Tailwind
colors: {
  custom: {
    50: '#c87cde',
    500: '#ab3ece',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ece;
$custom-light: #c87cde;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ece",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 206
  },
  "hsl": {
    "h": 285.417,
    "s": 59.504,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5775,
    "c": 0.22188,
    "h": 316.7
  },
  "luminance": 0.16559
}

Semantic roles & 50–950 ramp

primary
#AB3ECE
secondary
#A4D395
accent
#E3456B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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