#AB50AF#AB50AF

#AB50AF is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.0% C 0.168 H 325.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#AB50AF
RGBrgb(171, 80, 175)
HSLhsl(297, 37%, 50%)
HSVhsv(297, 54%, 69%)
CMYKcmyk(2.3%, 54.3%, 0%, 31.4%)
CIE-LABlab(48.87, 50.67, -34.29)
CIE-LCHlch(48.87, 61.18, 325.91°)
OKLaboklab(58.05% 0.1394 -0.0945)
OKLCHoklch(58.05% 0.168 325.9)
XYZxyz(27.4005, 17.4919, 42.4821)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB50AF #54AF50
analogous
#7C50AF #AB50AF #AF5083
triadic
#AB50AF #AFAB50 #50AFAB
tetradic
#AB50AF #AF7C50 #54AF50 #5083AF
square
#AB50AF #AF7C50 #54AF50 #5083AF
split-complementary
#AB50AF #83AF50 #50AF7C
monochromatic
#592A5B #823D85 #AB50AF #BF7AC2 #D3A4D5

Accessibility & contrast

On white

4.67
#AB50AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#AB50AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AB50AF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB50AF#FFFFFF#000000##FFFFFF
##AB50AF1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446DB2
Deuteranopia (green-blind)
#6278AC
Tritanopia (blue-blind)
#AF5C78
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ab50af;
/* rgb */ color: rgb(171, 80, 175);
/* oklch */ color: oklch(58.0% 0.168 325.9);
Tailwind
colors: {
  custom: {
    50: '#c685c7',
    500: '#ab50af',
    950: '#000000',
  },
}
SCSS
$custom: #ab50af;
$custom-light: #c685c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab50af",
  "rgb": {
    "r": 171,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 297.474,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.58046,
    "c": 0.1684,
    "h": 325.9
  },
  "luminance": 0.1749
}

Semantic roles & 50–950 ramp

primary
#AB50AF
secondary
#9AC398
accent
#CD5B5F
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #AB50AF

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

Preview Lab → · Contrast checker → · Palette generator →

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