#AB54AF#AB54AF

#AB54AF is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.6% C 0.162 H 325.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AB54AF
RGBrgb(171, 84, 175)
HSLhsl(297, 36%, 51%)
HSVhsv(297, 52%, 69%)
CMYKcmyk(2.3%, 52%, 0%, 31.4%)
CIE-LABlab(49.61, 48.70, -33.14)
CIE-LCHlch(49.61, 58.90, 325.77°)
OKLaboklab(58.59% 0.1339 -0.0912)
OKLCHoklch(58.59% 0.162 325.7)
XYZxyz(27.7022, 18.0952, 42.5827)
Luminance0.1809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB54AF #58AF54
analogous
#7D54AF #AB54AF #AF5485
triadic
#AB54AF #AFAB54 #54AFAB
tetradic
#AB54AF #AF7D54 #58AF54 #5485AF
square
#AB54AF #AF7D54 #58AF54 #5485AF
split-complementary
#AB54AF #85AF54 #54AF7D
monochromatic
#5B2C5D #843F87 #AB54AF #BF7EC3 #D4A7D6

Accessibility & contrast

On white

4.55
#AB54AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#AB54AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB54AF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB54AF#FFFFFF#000000##000000
##AB54AF1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#496FB2
Deuteranopia (green-blind)
#647AAC
Tritanopia (blue-blind)
#AF5F7A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab54af;
/* rgb */ color: rgb(171, 84, 175);
/* oklch */ color: oklch(58.6% 0.162 325.7);
Tailwind
colors: {
  custom: {
    50: '#c688c7',
    500: '#ab54af',
    950: '#000000',
  },
}
SCSS
$custom: #ab54af;
$custom-light: #c688c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab54af",
  "rgb": {
    "r": 171,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 297.363,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58589,
    "c": 0.16201,
    "h": 325.7
  },
  "luminance": 0.18094
}

Semantic roles & 50–950 ramp

primary
#AB54AF
secondary
#9DC49B
accent
#CC5C60
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AB54AF

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

Preview Lab → · Contrast checker → · Palette generator →

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