#AB4CCF#AB4CCF

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

Color values

HEX#AB4CCF
RGBrgb(171, 76, 207)
HSLhsl(284, 58%, 55%)
HSVhsv(284, 63%, 81%)
CMYKcmyk(17.4%, 63.3%, 0%, 18.8%)
CIE-LABlab(49.90, 58.79, -51.21)
CIE-LCHlch(49.90, 77.97, 318.95°)
OKLaboklab(59.35% 0.1461 -0.1437)
OKLCHoklch(59.35% 0.205 315.5)
XYZxyz(30.6397, 18.3329, 60.9440)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4CCF #70CF4C
analogous
#694CCF #AB4CCF #CF4CB2
triadic
#AB4CCF #CFAB4C #4CCFAB
tetradic
#AB4CCF #CF694C #70CF4C #4CB2CF
square
#AB4CCF #CF694C #70CF4C #4CB2CF
split-complementary
#AB4CCF #B2CF4C #4CCF69
monochromatic
#65227F #8C2FAF #AB4CCF #C27CDC #D8ADE9

Accessibility & contrast

On white

4.50
#AB4CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#AB4CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4CCF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4CCF#FFFFFF#000000##000000
##AB4CCF1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A71D3
Deuteranopia (green-blind)
#4B79CC
Tritanopia (blue-blind)
#A96487
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab4ccf;
/* rgb */ color: rgb(171, 76, 207);
/* oklch */ color: oklch(59.3% 0.205 315.5);
Tailwind
colors: {
  custom: {
    50: '#c784de',
    500: '#ab4ccf',
    950: '#000000',
  },
}
SCSS
$custom: #ab4ccf;
$custom-light: #c784de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4ccf",
  "rgb": {
    "r": 171,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 283.511,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59348,
    "c": 0.20488,
    "h": 315.5
  },
  "luminance": 0.18332
}

Semantic roles & 50–950 ramp

primary
#AB4CCF
secondary
#AFD7A0
accent
#E14771
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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