#AB3DA7#AB3DA7

#AB3DA7 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.3% C 0.189 H 329.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AB3DA7
RGBrgb(171, 61, 167)
HSLhsl(302, 47%, 45%)
HSVhsv(302, 64%, 67%)
CMYKcmyk(0%, 64.3%, 2.3%, 32.9%)
CIE-LABlab(45.34, 57.82, -35.13)
CIE-LCHlch(45.34, 67.65, 328.72°)
OKLaboklab(55.34% 0.1628 -0.0968)
OKLCHoklch(55.34% 0.189 329.3)
XYZxyz(25.4382, 14.7872, 38.0661)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DA7 #3DAB41
analogous
#783DAB #AB3DA7 #AB3D70
triadic
#AB3DA7 #A7AB3D #3DA7AB
tetradic
#AB3DA7 #AB783D #3DAB41 #3D70AB
square
#AB3DA7 #AB783D #3DAB41 #3D70AB
split-complementary
#AB3DA7 #70AB3D #3DAB78
monochromatic
#511D4F #7E2D7B #AB3DA7 #C65FC2 #D68CD3

Accessibility & contrast

On white

5.31
#AB3DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AB3DA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DA7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DA7#FFFFFF#000000##FFFFFF
##AB3DA71.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3262AA
Deuteranopia (green-blind)
#5A71A4
Tritanopia (blue-blind)
#B14A6D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3da7;
/* rgb */ color: rgb(171, 61, 167);
/* oklch */ color: oklch(55.3% 0.189 329.3);
Tailwind
colors: {
  custom: {
    50: '#c77bc1',
    500: '#ab3da7',
    950: '#000000',
  },
}
SCSS
$custom: #ab3da7;
$custom-light: #c77bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3da7",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 302.182,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55339,
    "c": 0.18937,
    "h": 329.3
  },
  "luminance": 0.14785
}

Semantic roles & 50–950 ramp

primary
#AB3DA7
secondary
#83C185
accent
#D75651
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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