#AB4BBE#AB4BBE

#AB4BBE is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.2% C 0.190 H 320.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#AB4BBE
RGBrgb(171, 75, 190)
HSLhsl(290, 47%, 52%)
HSVhsv(290, 61%, 75%)
CMYKcmyk(10%, 60.5%, 0%, 25.5%)
CIE-LABlab(48.77, 55.88, -43.20)
CIE-LCHlch(48.77, 70.63, 322.29°)
OKLaboklab(58.22% 0.1471 -0.1203)
OKLCHoklch(58.22% 0.19 320.7)
XYZxyz(28.6038, 17.4091, 50.5588)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB4BBE #5EBE4B
analogous
#724BBE #AB4BBE #BE4B98
triadic
#AB4BBE #BEAB4B #4BBEAB
tetradic
#AB4BBE #BE724B #5EBE4B #4B98BE
square
#AB4BBE #BE724B #5EBE4B #4B98BE
split-complementary
#AB4BBE #98BE4B #4BBE72
monochromatic
#5E2669 #863696 #AB4BBE #C078CE #D5A5DE

Accessibility & contrast

On white

4.69
#AB4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#AB4BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB4BBE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB4BBE#FFFFFF#000000##FFFFFF
##AB4BBE1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316DC2
Deuteranopia (green-blind)
#5677BB
Tritanopia (blue-blind)
#AC5D7E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab4bbe;
/* rgb */ color: rgb(171, 75, 190);
/* oklch */ color: oklch(58.2% 0.190 320.7);
Tailwind
colors: {
  custom: {
    50: '#c783d2',
    500: '#ab4bbe',
    950: '#000000',
  },
}
SCSS
$custom: #ab4bbe;
$custom-light: #c783d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab4bbe",
  "rgb": {
    "r": 171,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 290.087,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58222,
    "c": 0.19001,
    "h": 320.7
  },
  "luminance": 0.17408
}

Semantic roles & 50–950 ramp

primary
#AB4BBE
secondary
#A2CC99
accent
#D75167
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #AB4BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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