#AB3DA2#AB3DA2

#AB3DA2 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 55.1% C 0.185 H 331.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AB3DA2
RGBrgb(171, 61, 162)
HSLhsl(305, 47%, 45%)
HSVhsv(305, 64%, 67%)
CMYKcmyk(0%, 64.3%, 5.3%, 32.9%)
CIE-LABlab(45.09, 56.98, -32.56)
CIE-LCHlch(45.09, 65.62, 330.26°)
OKLaboklab(55.07% 0.1623 -0.0894)
OKLCHoklch(55.07% 0.185 331.2)
XYZxyz(24.9848, 14.6059, 35.6787)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DA2 #3DAB46
analogous
#7D3DAB #AB3DA2 #AB3D6B
triadic
#AB3DA2 #A2AB3D #3DA2AB
tetradic
#AB3DA2 #AB7D3D #3DAB46 #3D6BAB
square
#AB3DA2 #AB7D3D #3DAB46 #3D6BAB
split-complementary
#AB3DA2 #6BAB3D #3DAB7D
monochromatic
#511D4D #7E2D77 #AB3DA2 #C65FBE #D68CD0

Accessibility & contrast

On white

5.36
#AB3DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AB3DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3DA2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DA2#FFFFFF#000000##FFFFFF
##AB3DA21.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3661A5
Deuteranopia (green-blind)
#5C709F
Tritanopia (blue-blind)
#B2486A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3da2;
/* rgb */ color: rgb(171, 61, 162);
/* oklch */ color: oklch(55.1% 0.185 331.2);
Tailwind
colors: {
  custom: {
    50: '#c77abe',
    500: '#ab3da2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3da2;
$custom-light: #c77abe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3da2",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 162
  },
  "hsl": {
    "h": 304.909,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55074,
    "c": 0.18532,
    "h": 331.2
  },
  "luminance": 0.14604
}

Semantic roles & 50–950 ramp

primary
#AB3DA2
secondary
#83C188
accent
#D75C51
background
#FCF7FB
surface
#F9EEF7
border
#D2C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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