#AB5ABF#AB5ABF

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

Color values

HEX#AB5ABF
RGBrgb(171, 90, 191)
HSLhsl(288, 44%, 55%)
HSVhsv(288, 53%, 75%)
CMYKcmyk(10.5%, 52.9%, 0%, 25.1%)
CIE-LABlab(51.53, 48.78, -39.41)
CIE-LCHlch(51.53, 62.71, 321.07°)
OKLaboklab(60.26% 0.1275 -0.1094)
OKLCHoklch(60.26% 0.168 319.4)
XYZxyz(29.8535, 19.7330, 51.5164)
Luminance0.1973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5ABF #6EBF5A
analogous
#795ABF #AB5ABF #BF5AA0
triadic
#AB5ABF #BFAB5A #5ABFAB
tetradic
#AB5ABF #BF795A #6EBF5A #5AA0BF
square
#AB5ABF #BF795A #6EBF5A #5AA0BF
split-complementary
#AB5ABF #A0BF5A #5ABF79
monochromatic
#642C72 #8B3D9E #AB5ABF #C186D0 #D8B2E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB5ABF#FFFFFF#000000##000000
##AB5ABF1.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)
#4775C2
Deuteranopia (green-blind)
#617EBC
Tritanopia (blue-blind)
#AC6984
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ab5abf;
/* rgb */ color: rgb(171, 90, 191);
/* oklch */ color: oklch(60.3% 0.168 319.4);
Tailwind
colors: {
  custom: {
    50: '#c68cd3',
    500: '#ab5abf',
    950: '#000000',
  },
}
SCSS
$custom: #ab5abf;
$custom-light: #c68cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5abf",
  "rgb": {
    "r": 171,
    "g": 90,
    "b": 191
  },
  "hsl": {
    "h": 288.119,
    "s": 44.105,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60261,
    "c": 0.16803,
    "h": 319.4
  },
  "luminance": 0.19732
}

Semantic roles & 50–950 ramp

primary
#AB5ABF
secondary
#AED0A5
accent
#D4546D
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #AB5ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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