#AB3FB9#AB3FB9

#AB3FB9 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 56.6% C 0.202 H 322.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AB3FB9
RGBrgb(171, 63, 185)
HSLhsl(293, 49%, 49%)
HSVhsv(293, 66%, 73%)
CMYKcmyk(7.6%, 65.9%, 0%, 27.5%)
CIE-LABlab(46.60, 60.18, -43.73)
CIE-LCHlch(46.60, 74.39, 323.99°)
OKLaboklab(56.56% 0.1612 -0.1218)
OKLCHoklch(56.56% 0.202 322.9)
XYZxyz(27.3282, 15.7172, 47.4838)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FB9 #4DB93F
analogous
#6E3FB9 #AB3FB9 #B93F8A
triadic
#AB3FB9 #B9AB3F #3FB9AB
tetradic
#AB3FB9 #B96E3F #4DB93F #3F8AB9
square
#AB3FB9 #B96E3F #4DB93F #3F8AB9
split-complementary
#AB3FB9 #8AB93F #3FB96E
monochromatic
#57205E #812F8B #AB3FB9 #C169CC #D497DC

Accessibility & contrast

On white

5.07
#AB3FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AB3FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FB9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FB9#FFFFFF#000000##FFFFFF
##AB3FB91.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2166BD
Deuteranopia (green-blind)
#5173B6
Tritanopia (blue-blind)
#AE5377
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ab3fb9;
/* rgb */ color: rgb(171, 63, 185);
/* oklch */ color: oklch(56.6% 0.202 322.9);
Tailwind
colors: {
  custom: {
    50: '#c77cce',
    500: '#ab3fb9',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fb9;
$custom-light: #c77cce;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fb9",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 293.115,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56562,
    "c": 0.20199,
    "h": 322.9
  },
  "luminance": 0.15716
}

Semantic roles & 50–950 ramp

primary
#AB3FB9
secondary
#93C78D
accent
#D94F5F
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #AB3FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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