#AB5BBB#AB5BBB

#AB5BBB is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.2% C 0.162 H 320.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#AB5BBB
RGBrgb(171, 91, 187)
HSLhsl(290, 41%, 55%)
HSVhsv(290, 51%, 73%)
CMYKcmyk(8.6%, 51.3%, 0%, 26.7%)
CIE-LABlab(51.53, 47.47, -37.10)
CIE-LCHlch(51.53, 60.25, 321.99°)
OKLaboklab(60.19% 0.1257 -0.1027)
OKLCHoklch(60.19% 0.162 320.7)
XYZxyz(29.5043, 19.7292, 49.2580)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5BBB #6BBB5B
analogous
#7B5BBB #AB5BBB #BB5B9B
triadic
#AB5BBB #BBAB5B #5BBBAB
tetradic
#AB5BBB #BB7B5B #6BBB5B #5B9BBB
square
#AB5BBB #BB7B5B #6BBB5B #5B9BBB
split-complementary
#AB5BBB #9BBB5B #5BBB7B
monochromatic
#632E6E #8A4099 #AB5BBB #C186CD #D7B2DF

Accessibility & contrast

On white

4.25
#AB5BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#AB5BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5BBB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5BBB#FFFFFF#000000##000000
##AB5BBB1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BE
Deuteranopia (green-blind)
#647EB8
Tritanopia (blue-blind)
#AC6883
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab5bbb;
/* rgb */ color: rgb(171, 91, 187);
/* oklch */ color: oklch(60.2% 0.162 320.7);
Tailwind
colors: {
  custom: {
    50: '#c68cd0',
    500: '#ab5bbb',
    950: '#000000',
  },
}
SCSS
$custom: #ab5bbb;
$custom-light: #c68cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5bbb",
  "rgb": {
    "r": 171,
    "g": 91,
    "b": 187
  },
  "hsl": {
    "h": 290,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60193,
    "c": 0.16234,
    "h": 320.7
  },
  "luminance": 0.19728
}

Semantic roles & 50–950 ramp

primary
#AB5BBB
secondary
#ABCDA5
accent
#D1576B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB5BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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