#AB3EB9#AB3EB9

#AB3EB9 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.203 H 323.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#AB3EB9
RGBrgb(171, 62, 185)
HSLhsl(293, 50%, 48%)
HSVhsv(293, 66%, 73%)
CMYKcmyk(7.6%, 66.5%, 0%, 27.5%)
CIE-LABlab(46.46, 60.59, -43.97)
CIE-LCHlch(46.46, 74.86, 324.03°)
OKLaboklab(56.46% 0.1623 -0.1224)
OKLCHoklch(56.46% 0.203 323)
XYZxyz(27.2733, 15.6075, 47.4655)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3EB9 #4CB93E
analogous
#6D3EB9 #AB3EB9 #B93E89
triadic
#AB3EB9 #B9AB3E #3EB9AB
tetradic
#AB3EB9 #B96D3E #4CB93E #3E89B9
square
#AB3EB9 #B96D3E #4CB93E #3E89B9
split-complementary
#AB3EB9 #89B93E #3EB96D
monochromatic
#561F5D #812F8B #AB3EB9 #C168CC #D496DC

Accessibility & contrast

On white

5.10
#AB3EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#AB3EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3EB9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3EB9#FFFFFF#000000##FFFFFF
##AB3EB91.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E66BD
Deuteranopia (green-blind)
#5072B6
Tritanopia (blue-blind)
#AE5276
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab3eb9;
/* rgb */ color: rgb(171, 62, 185);
/* oklch */ color: oklch(56.5% 0.203 323.0);
Tailwind
colors: {
  custom: {
    50: '#c77cce',
    500: '#ab3eb9',
    950: '#000000',
  },
}
SCSS
$custom: #ab3eb9;
$custom-light: #c77cce;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3eb9",
  "rgb": {
    "r": 171,
    "g": 62,
    "b": 185
  },
  "hsl": {
    "h": 293.171,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56457,
    "c": 0.20329,
    "h": 323
  },
  "luminance": 0.15606
}

Semantic roles & 50–950 ramp

primary
#AB3EB9
secondary
#92C78C
accent
#D94E5E
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AB3EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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