#AB3CA8#AB3CA8

#AB3CA8 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.3% C 0.192 H 328.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AB3CA8
RGBrgb(171, 60, 168)
HSLhsl(302, 48%, 45%)
HSVhsv(302, 65%, 67%)
CMYKcmyk(0%, 64.9%, 1.8%, 32.9%)
CIE-LABlab(45.25, 58.40, -35.87)
CIE-LCHlch(45.25, 68.53, 328.44°)
OKLaboklab(55.29% 0.164 -0.0989)
OKLCHoklch(55.29% 0.192 328.9)
XYZxyz(25.4781, 14.7186, 38.5372)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CA8 #3CAB3F
analogous
#773CAB #AB3CA8 #AB3C70
triadic
#AB3CA8 #A8AB3C #3CA8AB
tetradic
#AB3CA8 #AB773C #3CAB3F #3C70AB
square
#AB3CA8 #AB773C #3CAB3F #3C70AB
split-complementary
#AB3CA8 #70AB3C #3CAB77
monochromatic
#501C4F #7E2C7B #AB3CA8 #C65EC4 #D68BD4

Accessibility & contrast

On white

5.33
#AB3CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AB3CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CA8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CA8#FFFFFF#000000##FFFFFF
##AB3CA81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab3ca8;
/* rgb */ color: rgb(171, 60, 168);
/* oklch */ color: oklch(55.3% 0.192 328.9);
Tailwind
colors: {
  custom: {
    50: '#c77ac2',
    500: '#ab3ca8',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ca8;
$custom-light: #c77ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ca8",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 301.622,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.55287,
    "c": 0.19153,
    "h": 328.9
  },
  "luminance": 0.14717
}

Semantic roles & 50–950 ramp

primary
#AB3CA8
secondary
#82C184
accent
#D85450
background
#FCF7FC
surface
#F9EEF8
border
#D2C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #AB3CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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