#AB3CCE#AB3CCE

#AB3CCE is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.6% C 0.224 H 316.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AB3CCE
RGBrgb(171, 60, 206)
HSLhsl(286, 60%, 52%)
HSVhsv(286, 71%, 81%)
CMYKcmyk(17%, 70.9%, 0%, 19.2%)
CIE-LABlab(47.43, 65.33, -54.59)
CIE-LCHlch(47.43, 85.14, 320.12°)
OKLaboklab(57.55% 0.1634 -0.1535)
OKLCHoklch(57.55% 0.224 316.8)
XYZxyz(29.5494, 16.3471, 59.9793)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CCE #5FCE3C
analogous
#623CCE #AB3CCE #CE3CA8
triadic
#AB3CCE #CEAB3C #3CCEAB
tetradic
#AB3CCE #CE623C #5FCE3C #3CA8CE
square
#AB3CCE #CE623C #5FCE3C #3CA8CE
split-complementary
#AB3CCE #A8CE3C #3CCE62
monochromatic
#5E1D73 #8629A4 #AB3CCE #C06DDA #D59EE7

Accessibility & contrast

On white

4.92
#AB3CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3CCE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CCE#FFFFFF#000000##FFFFFF
##AB3CCE1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#3E74CB
Tritanopia (blue-blind)
#A95A81
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ab3cce;
/* rgb */ color: rgb(171, 60, 206);
/* oklch */ color: oklch(57.6% 0.224 316.8);
Tailwind
colors: {
  custom: {
    50: '#c87bde',
    500: '#ab3cce',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cce;
$custom-light: #c87bde;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cce",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 206
  },
  "hsl": {
    "h": 285.616,
    "s": 59.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57554,
    "c": 0.22421,
    "h": 316.8
  },
  "luminance": 0.16346
}

Semantic roles & 50–950 ramp

primary
#AB3CCE
secondary
#A2D393
accent
#E3456B
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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