#AB4BBF#AB4BBF

#AB4BBF is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.3% C 0.191 H 320.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#AB4BBF
RGBrgb(171, 75, 191)
HSLhsl(290, 48%, 52%)
HSVhsv(290, 61%, 75%)
CMYKcmyk(10.5%, 60.7%, 0%, 25.1%)
CIE-LABlab(48.83, 56.07, -43.69)
CIE-LCHlch(48.83, 71.09, 322.07°)
OKLaboklab(58.28% 0.1471 -0.1217)
OKLCHoklch(58.28% 0.191 320.4)
XYZxyz(28.7135, 17.4530, 51.1364)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BBF #5FBF4B
analogous
#714BBF #AB4BBF #BF4B99
triadic
#AB4BBF #BFAB4B #4BBFAB
tetradic
#AB4BBF #BF714B #5FBF4B #4B99BF
square
#AB4BBF #BF714B #5FBF4B #4B99BF
split-complementary
#AB4BBF #99BF4B #4BBF71
monochromatic
#5E266A #863697 #AB4BBF #C078CF #D5A5DF

Accessibility & contrast

On white

4.68
#AB4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#AB4BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4BBF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BBF#FFFFFF#000000##FFFFFF
##AB4BBF1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306DC3
Deuteranopia (green-blind)
#5577BC
Tritanopia (blue-blind)
#AC5D7E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab4bbf;
/* rgb */ color: rgb(171, 75, 191);
/* oklch */ color: oklch(58.3% 0.191 320.4);
Tailwind
colors: {
  custom: {
    50: '#c783d3',
    500: '#ab4bbf',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bbf;
$custom-light: #c783d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bbf",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 289.655,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58279,
    "c": 0.19096,
    "h": 320.4
  },
  "luminance": 0.17452
}

Semantic roles & 50–950 ramp

primary
#AB4BBF
secondary
#A2CC9A
accent
#D75168
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #AB4BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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