#AB55AF#AB55AF

#AB55AF is a mid, vivid purple. Relative luminance 0.182; OKLCH L 58.7% C 0.160 H 325.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#AB55AF
RGBrgb(171, 85, 175)
HSLhsl(297, 36%, 51%)
HSVhsv(297, 51%, 69%)
CMYKcmyk(2.3%, 51.4%, 0%, 31.4%)
CIE-LABlab(49.80, 48.20, -32.84)
CIE-LCHlch(49.80, 58.32, 325.73°)
OKLaboklab(58.73% 0.1325 -0.0904)
OKLCHoklch(58.73% 0.16 325.7)
XYZxyz(27.7803, 18.2515, 42.6087)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB55AF #59AF55
analogous
#7E55AF #AB55AF #AF5586
triadic
#AB55AF #AFAB55 #55AFAB
tetradic
#AB55AF #AF7E55 #59AF55 #5586AF
square
#AB55AF #AF7E55 #59AF55 #5586AF
split-complementary
#AB55AF #86AF55 #55AF7E
monochromatic
#5B2C5E #844087 #AB55AF #C07FC3 #D4A8D6

Accessibility & contrast

On white

4.52
#AB55AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#AB55AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB55AF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB55AF#FFFFFF#000000##000000
##AB55AF1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#657AAC
Tritanopia (blue-blind)
#AF607A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ab55af;
/* rgb */ color: rgb(171, 85, 175);
/* oklch */ color: oklch(58.7% 0.160 325.7);
Tailwind
colors: {
  custom: {
    50: '#c688c7',
    500: '#ab55af',
    950: '#000000',
  },
}
SCSS
$custom: #ab55af;
$custom-light: #c688c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab55af",
  "rgb": {
    "r": 171,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 297.333,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58728,
    "c": 0.16038,
    "h": 325.7
  },
  "luminance": 0.1825
}

Semantic roles & 50–950 ramp

primary
#AB55AF
secondary
#9EC49C
accent
#CC5C61
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #AB55AF

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

Preview Lab → · Contrast checker → · Palette generator →

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