#AB3DB7#AB3DB7

#AB3DB7 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.2% C 0.203 H 323.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AB3DB7
RGBrgb(171, 61, 183)
HSLhsl(294, 50%, 48%)
HSVhsv(294, 67%, 72%)
CMYKcmyk(6.6%, 66.7%, 0%, 28.2%)
CIE-LABlab(46.20, 60.63, -43.20)
CIE-LCHlch(46.20, 74.45, 324.52°)
OKLaboklab(56.24% 0.1634 -0.1202)
OKLCHoklch(56.24% 0.203 323.7)
XYZxyz(27.0098, 15.4159, 46.3435)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DB7 #49B73D
analogous
#6E3DB7 #AB3DB7 #B73D86
triadic
#AB3DB7 #B7AB3D #3DB7AB
tetradic
#AB3DB7 #B76E3D #49B73D #3D86B7
square
#AB3DB7 #B76E3D #49B73D #3D86B7
split-complementary
#AB3DB7 #86B73D #3DB76E
monochromatic
#551E5B #802E89 #AB3DB7 #C265CC #D493DB

Accessibility & contrast

On white

5.14
#AB3DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AB3DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DB7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DB7#FFFFFF#000000##FFFFFF
##AB3DB71.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2065BB
Deuteranopia (green-blind)
#5172B4
Tritanopia (blue-blind)
#AE5175
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ab3db7;
/* rgb */ color: rgb(171, 61, 183);
/* oklch */ color: oklch(56.2% 0.203 323.7);
Tailwind
colors: {
  custom: {
    50: '#c77bcd',
    500: '#ab3db7',
    950: '#000000',
  },
}
SCSS
$custom: #ab3db7;
$custom-light: #c77bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3db7",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 294.098,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56236,
    "c": 0.20284,
    "h": 323.7
  },
  "luminance": 0.15414
}

Semantic roles & 50–950 ramp

primary
#AB3DB7
secondary
#8FC689
accent
#DA4E5C
background
#FCF7FC
surface
#F9EEF9
border
#D2C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #AB3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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