#AB5BBE#AB5BBE

#AB5BBE is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.4% C 0.165 H 319.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#AB5BBE
RGBrgb(171, 91, 190)
HSLhsl(288, 43%, 55%)
HSVhsv(288, 52%, 75%)
CMYKcmyk(10%, 52.1%, 0%, 25.5%)
CIE-LABlab(51.68, 48.07, -38.60)
CIE-LCHlch(51.68, 61.65, 321.23°)
OKLaboklab(60.35% 0.1261 -0.1071)
OKLCHoklch(60.35% 0.165 319.7)
XYZxyz(29.8288, 19.8590, 50.9671)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BBE #6EBE5B
analogous
#7A5BBE #AB5BBE #BE5B9F
triadic
#AB5BBE #BEAB5B #5BBEAB
tetradic
#AB5BBE #BE7A5B #6EBE5B #5B9FBE
square
#AB5BBE #BE7A5B #6EBE5B #5B9FBE
split-complementary
#AB5BBE #9FBE5B #5BBE7A
monochromatic
#642D72 #8B3E9D #AB5BBE #C187CF #D8B3E1

Accessibility & contrast

On white

4.22
#AB5BBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#AB5BBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BBE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BBE#FFFFFF#000000##000000
##AB5BBE1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4976C1
Deuteranopia (green-blind)
#627EBB
Tritanopia (blue-blind)
#AC6984
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab5bbe;
/* rgb */ color: rgb(171, 91, 190);
/* oklch */ color: oklch(60.4% 0.165 319.7);
Tailwind
colors: {
  custom: {
    50: '#c68cd2',
    500: '#ab5bbe',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bbe;
$custom-light: #c68cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bbe",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 288.485,
    "s": 43.231,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6035,
    "c": 0.16539,
    "h": 319.7
  },
  "luminance": 0.19858
}

Semantic roles & 50–950 ramp

primary
#AB5BBE
secondary
#AECFA6
accent
#D3556D
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB5BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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