#AB3FBD#AB3FBD

#AB3FBD is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.8% C 0.206 H 321.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AB3FBD
RGBrgb(171, 63, 189)
HSLhsl(291, 50%, 49%)
HSVhsv(291, 67%, 74%)
CMYKcmyk(9.5%, 66.7%, 0%, 25.9%)
CIE-LABlab(46.83, 60.92, -45.71)
CIE-LCHlch(46.83, 76.16, 323.12°)
OKLaboklab(56.8% 0.1611 -0.1275)
OKLCHoklch(56.8% 0.206 321.6)
XYZxyz(27.7564, 15.8885, 49.7390)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FBD #51BD3F
analogous
#6C3FBD #AB3FBD #BD3F90
triadic
#AB3FBD #BDAB3F #3FBDAB
tetradic
#AB3FBD #BD6C3F #51BD3F #3F90BD
square
#AB3FBD #BD6C3F #51BD3F #3F90BD
split-complementary
#AB3FBD #90BD3F #3FBD6C
monochromatic
#582061 #81308F #AB3FBD #C06BCE #D399DD

Accessibility & contrast

On white

5.03
#AB3FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AB3FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FBD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FBD#FFFFFF#000000##FFFFFF
##AB3FBD1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C1
Deuteranopia (green-blind)
#4E73BA
Tritanopia (blue-blind)
#AD5479
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab3fbd;
/* rgb */ color: rgb(171, 63, 189);
/* oklch */ color: oklch(56.8% 0.206 321.6);
Tailwind
colors: {
  custom: {
    50: '#c77cd1',
    500: '#ab3fbd',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fbd;
$custom-light: #c77cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fbd",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 291.429,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56798,
    "c": 0.20551,
    "h": 321.6
  },
  "luminance": 0.15887
}

Semantic roles & 50–950 ramp

primary
#AB3FBD
secondary
#97C98F
accent
#DA4E62
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AB3FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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