#AB5FBF#AB5FBF

#AB5FBF is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.0% C 0.160 H 319.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#AB5FBF
RGBrgb(171, 95, 191)
HSLhsl(288, 43%, 56%)
HSVhsv(288, 50%, 75%)
CMYKcmyk(10.5%, 50.3%, 0%, 25.1%)
CIE-LABlab(52.51, 46.20, -37.86)
CIE-LCHlch(52.51, 59.73, 320.67°)
OKLaboklab(60.99% 0.1206 -0.1049)
OKLCHoklch(60.99% 0.16 319)
XYZxyz(30.2895, 20.6051, 51.6618)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB5FBF #73BF5F
analogous
#7B5FBF #AB5FBF #BF5FA3
triadic
#AB5FBF #BFAB5F #5FBFAB
tetradic
#AB5FBF #BF7B5F #73BF5F #5FA3BF
square
#AB5FBF #BF7B5F #73BF5F #5FA3BF
split-complementary
#AB5FBF #A3BF5F #5FBF7B
monochromatic
#662F75 #8C40A1 #AB5FBF #C28BD0 #D9B6E2

Accessibility & contrast

On white

4.10
#AB5FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#AB5FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB5FBF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB5FBF#FFFFFF#000000##000000
##AB5FBF1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E78C2
Deuteranopia (green-blind)
#6580BC
Tritanopia (blue-blind)
#AB6D86
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ab5fbf;
/* rgb */ color: rgb(171, 95, 191);
/* oklch */ color: oklch(61.0% 0.160 319.0);
Tailwind
colors: {
  custom: {
    50: '#c68fd2',
    500: '#ab5fbf',
    950: '#000000',
  },
}
SCSS
$custom: #ab5fbf;
$custom-light: #c68fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab5fbf",
  "rgb": {
    "r": 171,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 287.5,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60985,
    "c": 0.15989,
    "h": 319
  },
  "luminance": 0.20604
}

Semantic roles & 50–950 ramp

primary
#AB5FBF
secondary
#B1D1A9
accent
#D3556F
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130D14
muted
#827D82

Preview Lab

Preview with #AB5FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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