#AB5ABB#AB5ABB

#AB5ABB is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.0% C 0.164 H 320.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AB5ABB
RGBrgb(171, 90, 187)
HSLhsl(290, 42%, 54%)
HSVhsv(290, 52%, 73%)
CMYKcmyk(8.6%, 51.9%, 0%, 26.7%)
CIE-LABlab(51.34, 47.98, -37.41)
CIE-LCHlch(51.34, 60.84, 322.06°)
OKLaboklab(60.05% 0.1271 -0.1036)
OKLCHoklch(60.05% 0.164 320.8)
XYZxyz(29.4193, 19.5593, 49.2297)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5ABB #6ABB5A
analogous
#7B5ABB #AB5ABB #BB5A9B
triadic
#AB5ABB #BBAB5A #5ABBAB
tetradic
#AB5ABB #BB7B5A #6ABB5A #5A9BBB
square
#AB5ABB #BB7B5A #6ABB5A #5A9BBB
split-complementary
#AB5ABB #9BBB5A #5ABB7B
monochromatic
#632D6D #8A3F99 #AB5ABB #C185CD #D7B1DF

Accessibility & contrast

On white

4.28
#AB5ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#AB5ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5ABB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5ABB#FFFFFF#000000##000000
##AB5ABB1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A75BE
Deuteranopia (green-blind)
#637DB8
Tritanopia (blue-blind)
#AC6782
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab5abb;
/* rgb */ color: rgb(171, 90, 187);
/* oklch */ color: oklch(60.0% 0.164 320.8);
Tailwind
colors: {
  custom: {
    50: '#c68cd0',
    500: '#ab5abb',
    950: '#000000',
  },
}
SCSS
$custom: #ab5abb;
$custom-light: #c68cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5abb",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 187
  },
  "hsl": {
    "h": 290.103,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60049,
    "c": 0.16397,
    "h": 320.8
  },
  "luminance": 0.19558
}

Semantic roles & 50–950 ramp

primary
#AB5ABB
secondary
#ABCDA4
accent
#D1566B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB5ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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