#AB5ABC#AB5ABC

#AB5ABC is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.1% C 0.165 H 320.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AB5ABC
RGBrgb(171, 90, 188)
HSLhsl(290, 42%, 55%)
HSVhsv(290, 52%, 74%)
CMYKcmyk(9%, 52.1%, 0%, 26.3%)
CIE-LABlab(51.38, 48.18, -37.91)
CIE-LCHlch(51.38, 61.31, 321.80°)
OKLaboklab(60.1% 0.1272 -0.1051)
OKLCHoklch(60.1% 0.165 320.4)
XYZxyz(29.5268, 19.6023, 49.7955)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5ABC #6BBC5A
analogous
#7A5ABC #AB5ABC #BC5A9C
triadic
#AB5ABC #BCAB5A #5ABCAB
tetradic
#AB5ABC #BC7A5A #6BBC5A #5A9CBC
square
#AB5ABC #BC7A5A #6BBC5A #5A9CBC
split-complementary
#AB5ABC #9CBC5A #5ABC7A
monochromatic
#632D6F #8A3F9A #AB5ABC #C186CE #D7B1DF

Accessibility & contrast

On white

4.27
#AB5ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#AB5ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5ABC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5ABC#FFFFFF#000000##000000
##AB5ABC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4975BF
Deuteranopia (green-blind)
#627DB9
Tritanopia (blue-blind)
#AC6883
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ab5abc;
/* rgb */ color: rgb(171, 90, 188);
/* oklch */ color: oklch(60.1% 0.165 320.4);
Tailwind
colors: {
  custom: {
    50: '#c68cd0',
    500: '#ab5abc',
    950: '#000000',
  },
}
SCSS
$custom: #ab5abc;
$custom-light: #c68cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5abc",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 289.592,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60102,
    "c": 0.16498,
    "h": 320.4
  },
  "luminance": 0.19601
}

Semantic roles & 50–950 ramp

primary
#AB5ABC
secondary
#ABCEA4
accent
#D2566B
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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