#AB4BCD#AB4BCD

#AB4BCD is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.1% C 0.204 H 316.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AB4BCD
RGBrgb(171, 75, 205)
HSLhsl(284, 57%, 55%)
HSVhsv(284, 63%, 80%)
CMYKcmyk(16.6%, 63.4%, 0%, 19.6%)
CIE-LABlab(49.62, 58.84, -50.51)
CIE-LCHlch(49.62, 77.55, 319.36°)
OKLaboklab(59.11% 0.1473 -0.1416)
OKLCHoklch(59.11% 0.204 316.1)
XYZxyz(30.3284, 18.0990, 59.6416)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BCD #6DCD4B
analogous
#6A4BCD #AB4BCD #CD4BAE
triadic
#AB4BCD #CDAB4B #4BCDAB
tetradic
#AB4BCD #CD6A4B #6DCD4B #4BAECD
square
#AB4BCD #CD6A4B #6DCD4B #4BAECD
split-complementary
#AB4BCD #AECD4B #4BCD6A
monochromatic
#64227B #8B30AB #AB4BCD #C17BDA #D8ABE8

Accessibility & contrast

On white

4.55
#AB4BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#AB4BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4BCD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BCD#FFFFFF#000000##000000
##AB4BCD1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B70D1
Deuteranopia (green-blind)
#4B79CA
Tritanopia (blue-blind)
#A96385
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab4bcd;
/* rgb */ color: rgb(171, 75, 205);
/* oklch */ color: oklch(59.1% 0.204 316.1);
Tailwind
colors: {
  custom: {
    50: '#c783dd',
    500: '#ab4bcd',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bcd;
$custom-light: #c783dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bcd",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 284.308,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59106,
    "c": 0.20431,
    "h": 316.1
  },
  "luminance": 0.18098
}

Semantic roles & 50–950 ramp

primary
#AB4BCD
secondary
#ADD59F
accent
#E04870
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #AB4BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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