#AB3DA8#AB3DA8

#AB3DA8 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.4% C 0.190 H 328.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AB3DA8
RGBrgb(171, 61, 168)
HSLhsl(302, 47%, 45%)
HSVhsv(302, 64%, 67%)
CMYKcmyk(0%, 64.3%, 1.8%, 32.9%)
CIE-LABlab(45.39, 57.99, -35.64)
CIE-LCHlch(45.39, 68.07, 328.42°)
OKLaboklab(55.39% 0.1628 -0.0983)
OKLCHoklch(55.39% 0.19 328.9)
XYZxyz(25.5310, 14.8243, 38.5549)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3DA8 #3DAB40
analogous
#773DAB #AB3DA8 #AB3D71
triadic
#AB3DA8 #A8AB3D #3DA8AB
tetradic
#AB3DA8 #AB773D #3DAB40 #3D71AB
square
#AB3DA8 #AB773D #3DAB40 #3D71AB
split-complementary
#AB3DA8 #71AB3D #3DAB77
monochromatic
#511D4F #7E2D7C #AB3DA8 #C65FC3 #D68CD4

Accessibility & contrast

On white

5.30
#AB3DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3DA8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3DA8#FFFFFF#000000##FFFFFF
##AB3DA81.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3162AB
Deuteranopia (green-blind)
#5971A5
Tritanopia (blue-blind)
#B14A6D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3da8;
/* rgb */ color: rgb(171, 61, 168);
/* oklch */ color: oklch(55.4% 0.190 328.9);
Tailwind
colors: {
  custom: {
    50: '#c77bc2',
    500: '#ab3da8',
    950: '#000000',
  },
}
SCSS
$custom: #ab3da8;
$custom-light: #c77bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3da8",
  "rgb": {
    "r": 171,
    "g": 61,
    "b": 168
  },
  "hsl": {
    "h": 301.636,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55393,
    "c": 0.19019,
    "h": 328.9
  },
  "luminance": 0.14823
}

Semantic roles & 50–950 ramp

primary
#AB3DA8
secondary
#83C185
accent
#D75451
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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