#AB38AE#AB38AE

#AB38AE is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.2% C 0.202 H 326.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AB38AE
RGBrgb(171, 56, 174)
HSLhsl(298, 51%, 45%)
HSVhsv(298, 68%, 68%)
CMYKcmyk(1.7%, 67.8%, 0%, 31.8%)
CIE-LABlab(45.00, 61.00, -39.81)
CIE-LCHlch(45.00, 72.84, 326.87°)
OKLaboklab(55.21% 0.1687 -0.1103)
OKLCHoklch(55.21% 0.202 326.8)
XYZxyz(25.8483, 14.5440, 41.4820)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB38AE #3BAE38
analogous
#7038AE #AB38AE #AE3876
triadic
#AB38AE #AEAB38 #38AEAB
tetradic
#AB38AE #AE7038 #3BAE38 #3876AE
square
#AB38AE #AE7038 #3BAE38 #3876AE
split-complementary
#AB38AE #76AE38 #38AE70
monochromatic
#501A51 #7D2980 #AB38AE #C759CA #D788D9

Accessibility & contrast

On white

5.37
#AB38AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AB38AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB38AE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB38AE#FFFFFF#000000##FFFFFF
##AB38AE1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B1
Deuteranopia (green-blind)
#5370AB
Tritanopia (blue-blind)
#B0496F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab38ae;
/* rgb */ color: rgb(171, 56, 174);
/* oklch */ color: oklch(55.2% 0.202 326.8);
Tailwind
colors: {
  custom: {
    50: '#c778c6',
    500: '#ab38ae',
    950: '#000000',
  },
}
SCSS
$custom: #ab38ae;
$custom-light: #c778c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab38ae",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 298.475,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55214,
    "c": 0.20156,
    "h": 326.8
  },
  "luminance": 0.14542
}

Semantic roles & 50–950 ramp

primary
#AB38AE
secondary
#81C37F
accent
#DB4D51
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB38AE

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

Preview Lab → · Contrast checker → · Palette generator →

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