#AB4DCF#AB4DCF

#AB4DCF is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.5% C 0.203 H 315.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AB4DCF
RGBrgb(171, 77, 207)
HSLhsl(283, 58%, 56%)
HSVhsv(283, 63%, 81%)
CMYKcmyk(17.4%, 62.8%, 0%, 18.8%)
CIE-LABlab(50.06, 58.34, -50.94)
CIE-LCHlch(50.06, 77.45, 318.87°)
OKLaboklab(59.47% 0.1449 -0.1429)
OKLCHoklch(59.47% 0.204 315.4)
XYZxyz(30.7092, 18.4717, 60.9671)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4DCF #71CF4D
analogous
#6A4DCF #AB4DCF #CF4DB2
triadic
#AB4DCF #CFAB4D #4DCFAB
tetradic
#AB4DCF #CF6A4D #71CF4D #4DB2CF
square
#AB4DCF #CF6A4D #71CF4D #4DB2CF
split-complementary
#AB4DCF #B2CF4D #4DCF6A
monochromatic
#66227F #8C2FAF #AB4DCF #C27DDC #D8ADE9

Accessibility & contrast

On white

4.47
#AB4DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#AB4DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4DCF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4DCF#FFFFFF#000000##000000
##AB4DCF1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D72D3
Deuteranopia (green-blind)
#4B7ACC
Tritanopia (blue-blind)
#A86587
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ab4dcf;
/* rgb */ color: rgb(171, 77, 207);
/* oklch */ color: oklch(59.5% 0.203 315.4);
Tailwind
colors: {
  custom: {
    50: '#c784de',
    500: '#ab4dcf',
    950: '#000000',
  },
}
SCSS
$custom: #ab4dcf;
$custom-light: #c784de;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4dcf",
  "rgb": {
    "r": 171,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 283.385,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59468,
    "c": 0.2035,
    "h": 315.4
  },
  "luminance": 0.18471
}

Semantic roles & 50–950 ramp

primary
#AB4DCF
secondary
#B0D7A1
accent
#E14772
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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