#AB5FBE#AB5FBE

#AB5FBE is a mid, vivid purple. Relative luminance 0.206; OKLCH L 60.9% C 0.159 H 319.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AB5FBE
RGBrgb(171, 95, 190)
HSLhsl(288, 42%, 56%)
HSVhsv(288, 50%, 75%)
CMYKcmyk(10%, 50%, 0%, 25.5%)
CIE-LABlab(52.47, 46.00, -37.36)
CIE-LCHlch(52.47, 59.26, 320.92°)
OKLaboklab(60.93% 0.1205 -0.1035)
OKLCHoklch(60.93% 0.159 319.3)
XYZxyz(30.1799, 20.5612, 51.0842)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FBE #72BE5F
analogous
#7B5FBE #AB5FBE #BE5FA1
triadic
#AB5FBE #BEAB5F #5FBEAB
tetradic
#AB5FBE #BE7B5F #72BE5F #5FA1BE
square
#AB5FBE #BE7B5F #72BE5F #5FA1BE
split-complementary
#AB5FBE #A1BE5F #5FBE7B
monochromatic
#662F74 #8C419F #AB5FBE #C28BD0 #D9B6E1

Accessibility & contrast

On white

4.11
#AB5FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#AB5FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FBE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FBE#FFFFFF#000000##000000
##AB5FBE1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E78C1
Deuteranopia (green-blind)
#6580BB
Tritanopia (blue-blind)
#AC6C86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab5fbe;
/* rgb */ color: rgb(171, 95, 190);
/* oklch */ color: oklch(60.9% 0.159 319.3);
Tailwind
colors: {
  custom: {
    50: '#c68fd2',
    500: '#ab5fbe',
    950: '#000000',
  },
}
SCSS
$custom: #ab5fbe;
$custom-light: #c68fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5fbe",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 288,
    "s": 42.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60933,
    "c": 0.15885,
    "h": 319.3
  },
  "luminance": 0.2056
}

Semantic roles & 50–950 ramp

primary
#AB5FBE
secondary
#B1D0A9
accent
#D2566F
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130D14
muted
#827D82

Preview Lab

Preview with #AB5FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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