#AB3CAA#AB3CAA

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

Color values

HEX#AB3CAA
RGBrgb(171, 60, 170)
HSLhsl(301, 48%, 45%)
HSVhsv(301, 65%, 67%)
CMYKcmyk(0%, 64.9%, 0.6%, 32.9%)
CIE-LABlab(45.35, 58.74, -36.90)
CIE-LCHlch(45.35, 69.36, 327.87°)
OKLaboklab(55.4% 0.1641 -0.1019)
OKLCHoklch(55.4% 0.193 328.2)
XYZxyz(25.6658, 14.7937, 39.5261)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CAA #3CAB3D
analogous
#753CAB #AB3CAA #AB3C72
triadic
#AB3CAA #AAAB3C #3CAAAB
tetradic
#AB3CAA #AB753C #3CAB3D #3C72AB
square
#AB3CAA #AB753C #3CAB3D #3C72AB
split-complementary
#AB3CAA #72AB3C #3CAB75
monochromatic
#501C50 #7E2C7D #AB3CAA #C65EC5 #D68BD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3CAA#FFFFFF#000000##FFFFFF
##AB3CAA1.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)
#2E62AD
Deuteranopia (green-blind)
#5870A7
Tritanopia (blue-blind)
#B04B6E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab3caa;
/* rgb */ color: rgb(171, 60, 170);
/* oklch */ color: oklch(55.4% 0.193 328.2);
Tailwind
colors: {
  custom: {
    50: '#c77ac4',
    500: '#ab3caa',
    950: '#000000',
  },
}
SCSS
$custom: #ab3caa;
$custom-light: #c77ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3caa",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 300.541,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55396,
    "c": 0.19317,
    "h": 328.2
  },
  "luminance": 0.14792
}

Semantic roles & 50–950 ramp

primary
#AB3CAA
secondary
#82C182
accent
#D85150
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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