#AB4FBD#AB4FBD

#AB4FBD is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.7% C 0.183 H 320.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#AB4FBD
RGBrgb(171, 79, 189)
HSLhsl(290, 45%, 53%)
HSVhsv(290, 58%, 74%)
CMYKcmyk(9.5%, 58.2%, 0%, 25.9%)
CIE-LABlab(49.41, 53.81, -41.61)
CIE-LCHlch(49.41, 68.03, 322.29°)
OKLaboklab(58.67% 0.142 -0.1157)
OKLCHoklch(58.67% 0.183 320.8)
XYZxyz(28.7748, 17.9253, 50.0785)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4FBD #61BD4F
analogous
#744FBD #AB4FBD #BD4F98
triadic
#AB4FBD #BDAB4F #4FBDAB
tetradic
#AB4FBD #BD744F #61BD4F #4F98BD
square
#AB4FBD #BD744F #61BD4F #4F98BD
split-complementary
#AB4FBD #98BD4F #4FBD74
monochromatic
#5F286A #873896 #AB4FBD #C07CCE #D5A8DE

Accessibility & contrast

On white

4.58
#AB4FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#AB4FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB4FBD
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4FBD#FFFFFF#000000##000000
##AB4FBD1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#386FC0
Deuteranopia (green-blind)
#5979BA
Tritanopia (blue-blind)
#AC607F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ab4fbd;
/* rgb */ color: rgb(171, 79, 189);
/* oklch */ color: oklch(58.7% 0.183 320.8);
Tailwind
colors: {
  custom: {
    50: '#c785d1',
    500: '#ab4fbd',
    950: '#000000',
  },
}
SCSS
$custom: #ab4fbd;
$custom-light: #c785d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4fbd",
  "rgb": {
    "r": 171,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 290.182,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58666,
    "c": 0.18317,
    "h": 320.8
  },
  "luminance": 0.17924
}

Semantic roles & 50–950 ramp

primary
#AB4FBD
secondary
#A4CC9C
accent
#D55368
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB4FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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