#AB3EAE#AB3EAE

#AB3EAE is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.8% C 0.194 H 326.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#AB3EAE
RGBrgb(171, 62, 174)
HSLhsl(298, 47%, 46%)
HSVhsv(298, 64%, 68%)
CMYKcmyk(1.7%, 64.4%, 0%, 31.8%)
CIE-LABlab(45.85, 58.62, -38.46)
CIE-LCHlch(45.85, 70.11, 326.73°)
OKLaboklab(55.83% 0.162 -0.1064)
OKLCHoklch(55.83% 0.194 326.7)
XYZxyz(26.1567, 15.1608, 41.5848)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EAE #41AE3E
analogous
#733EAE #AB3EAE #AE3E79
triadic
#AB3EAE #AEAB3E #3EAEAB
tetradic
#AB3EAE #AE733E #41AE3E #3E79AE
square
#AB3EAE #AE733E #41AE3E #3E79AE
split-complementary
#AB3EAE #79AE3E #3EAE73
monochromatic
#521E54 #7F2E81 #AB3EAE #C462C7 #D58FD7

Accessibility & contrast

On white

5.21
#AB3EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#AB3EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EAE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EAE#FFFFFF#000000##FFFFFF
##AB3EAE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B1
Deuteranopia (green-blind)
#5771AB
Tritanopia (blue-blind)
#B04E71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3eae;
/* rgb */ color: rgb(171, 62, 174);
/* oklch */ color: oklch(55.8% 0.194 326.7);
Tailwind
colors: {
  custom: {
    50: '#c77bc6',
    500: '#ab3eae',
    950: '#000000',
  },
}
SCSS
$custom: #ab3eae;
$custom-light: #c77bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3eae",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 298.393,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55828,
    "c": 0.19386,
    "h": 326.7
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#AB3EAE
secondary
#87C286
accent
#D75154
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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