#AB3CC2#AB3CC2

#AB3CC2 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 56.8% C 0.214 H 320.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#AB3CC2
RGBrgb(171, 60, 194)
HSLhsl(290, 53%, 50%)
HSVhsv(290, 69%, 76%)
CMYKcmyk(11.9%, 69.1%, 0%, 23.9%)
CIE-LABlab(46.69, 63.05, -48.83)
CIE-LCHlch(46.69, 79.75, 322.24°)
OKLaboklab(56.79% 0.1642 -0.1366)
OKLCHoklch(56.79% 0.214 320.2)
XYZxyz(28.1469, 15.7861, 52.5929)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CC2 #53C23C
analogous
#683CC2 #AB3CC2 #C23C96
triadic
#AB3CC2 #C2AB3C #3CC2AB
tetradic
#AB3CC2 #C2683C #53C23C #3C96C2
square
#AB3CC2 #C2683C #53C23C #3C96C2
split-complementary
#AB3CC2 #96C23C #3CC268
monochromatic
#591F65 #822E93 #AB3CC2 #BF6AD1 #D399DF

Accessibility & contrast

On white

5.05
#AB3CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#AB3CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CC2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CC2#FFFFFF#000000##FFFFFF
##AB3CC21.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#4873BF
Tritanopia (blue-blind)
#AC557B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab3cc2;
/* rgb */ color: rgb(171, 60, 194);
/* oklch */ color: oklch(56.8% 0.214 320.2);
Tailwind
colors: {
  custom: {
    50: '#c87bd5',
    500: '#ab3cc2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cc2;
$custom-light: #c87bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cc2",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 289.701,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56795,
    "c": 0.21363,
    "h": 320.2
  },
  "luminance": 0.15785
}

Semantic roles & 50–950 ramp

primary
#AB3CC2
secondary
#99CB8F
accent
#DC4C64
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB3CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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