#AB4CCE#AB4CCE

#AB4CCE is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.3% C 0.204 H 315.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#AB4CCE
RGBrgb(171, 76, 206)
HSLhsl(284, 57%, 55%)
HSVhsv(284, 63%, 81%)
CMYKcmyk(17%, 63.1%, 0%, 19.2%)
CIE-LABlab(49.84, 58.59, -50.73)
CIE-LCHlch(49.84, 77.50, 319.11°)
OKLaboklab(59.29% 0.1461 -0.1423)
OKLCHoklch(59.29% 0.204 315.8)
XYZxyz(30.5179, 18.2841, 60.3022)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CCE #6FCE4C
analogous
#6A4CCE #AB4CCE #CE4CB0
triadic
#AB4CCE #CEAB4C #4CCEAB
tetradic
#AB4CCE #CE6A4C #6FCE4C #4CB0CE
square
#AB4CCE #CE6A4C #6FCE4C #4CB0CE
split-complementary
#AB4CCE #B0CE4C #4CCE6A
monochromatic
#65227D #8B2FAD #AB4CCE #C27CDB #D8ACE8

Accessibility & contrast

On white

4.51
#AB4CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#AB4CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4CCE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4CCE#FFFFFF#000000##000000
##AB4CCE1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C71D2
Deuteranopia (green-blind)
#4B79CB
Tritanopia (blue-blind)
#A96486
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab4cce;
/* rgb */ color: rgb(171, 76, 206);
/* oklch */ color: oklch(59.3% 0.204 315.8);
Tailwind
colors: {
  custom: {
    50: '#c784dd',
    500: '#ab4cce',
    950: '#000000',
  },
}
SCSS
$custom: #ab4cce;
$custom-light: #c784dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4cce",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 283.846,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59286,
    "c": 0.20391,
    "h": 315.8
  },
  "luminance": 0.18283
}

Semantic roles & 50–950 ramp

primary
#AB4CCE
secondary
#AED6A0
accent
#E04871
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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