#AB5FBD#AB5FBD

#AB5FBD is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.9% C 0.158 H 319.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AB5FBD
RGBrgb(171, 95, 189)
HSLhsl(289, 42%, 56%)
HSVhsv(289, 50%, 74%)
CMYKcmyk(9.5%, 49.7%, 0%, 25.9%)
CIE-LABlab(52.42, 45.80, -36.86)
CIE-LCHlch(52.42, 58.79, 321.17°)
OKLaboklab(60.88% 0.1204 -0.1021)
OKLCHoklch(60.88% 0.158 319.7)
XYZxyz(30.0709, 20.5176, 50.5105)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FBD #71BD5F
analogous
#7C5FBD #AB5FBD #BD5FA0
triadic
#AB5FBD #BDAB5F #5FBDAB
tetradic
#AB5FBD #BD7C5F #71BD5F #5FA0BD
square
#AB5FBD #BD7C5F #71BD5F #5FA0BD
split-complementary
#AB5FBD #A0BD5F #5FBD7C
monochromatic
#662F72 #8C419E #AB5FBD #C28ACF #D8B6E1

Accessibility & contrast

On white

4.12
#AB5FBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#AB5FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FBD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FBD#FFFFFF#000000##000000
##AB5FBD1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C0
Deuteranopia (green-blind)
#6680BA
Tritanopia (blue-blind)
#AC6C85
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab5fbd;
/* rgb */ color: rgb(171, 95, 189);
/* oklch */ color: oklch(60.9% 0.158 319.7);
Tailwind
colors: {
  custom: {
    50: '#c68fd1',
    500: '#ab5fbd',
    950: '#000000',
  },
}
SCSS
$custom: #ab5fbd;
$custom-light: #c68fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5fbd",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 288.511,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60881,
    "c": 0.15781,
    "h": 319.7
  },
  "luminance": 0.20516
}

Semantic roles & 50–950 ramp

primary
#AB5FBD
secondary
#B0CFA8
accent
#D1566E
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130D14
muted
#827D82

Preview Lab

Preview with #AB5FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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