#AB3CC4#AB3CC4

#AB3CC4 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.215 H 319.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AB3CC4
RGBrgb(171, 60, 196)
HSLhsl(289, 54%, 50%)
HSVhsv(289, 69%, 77%)
CMYKcmyk(12.8%, 69.4%, 0%, 23.1%)
CIE-LABlab(46.81, 63.42, -49.80)
CIE-LCHlch(46.81, 80.64, 321.86°)
OKLaboklab(56.92% 0.1641 -0.1395)
OKLCHoklch(56.92% 0.215 319.6)
XYZxyz(28.3730, 15.8765, 53.7838)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CC4 #55C43C
analogous
#673CC4 #AB3CC4 #C43C99
triadic
#AB3CC4 #C4AB3C #3CC4AB
tetradic
#AB3CC4 #C4673C #55C43C #3C99C4
square
#AB3CC4 #C4673C #55C43C #3C99C4
split-complementary
#AB3CC4 #99C43C #3CC467
monochromatic
#591F67 #822D96 #AB3CC4 #BF6BD2 #D39AE0

Accessibility & contrast

On white

5.03
#AB3CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AB3CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CC4
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CC4#FFFFFF#000000##FFFFFF
##AB3CC41.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#4773C1
Tritanopia (blue-blind)
#AB557C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ab3cc4;
/* rgb */ color: rgb(171, 60, 196);
/* oklch */ color: oklch(56.9% 0.215 319.6);
Tailwind
colors: {
  custom: {
    50: '#c87bd6',
    500: '#ab3cc4',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cc4;
$custom-light: #c87bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cc4",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 288.971,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56919,
    "c": 0.21539,
    "h": 319.6
  },
  "luminance": 0.15875
}

Semantic roles & 50–950 ramp

primary
#AB3CC4
secondary
#9BCC90
accent
#DD4B66
background
#FCF7FD
surface
#F9EEFA
border
#D2C9D3
text
#140A14
muted
#827C83

Preview Lab

Preview with #AB3CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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