#AB3FCC#AB3FCC

#AB3FCC is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.7% C 0.219 H 317.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AB3FCC
RGBrgb(171, 63, 204)
HSLhsl(286, 58%, 52%)
HSVhsv(286, 69%, 80%)
CMYKcmyk(16.2%, 69.1%, 0%, 20%)
CIE-LABlab(47.72, 63.77, -52.97)
CIE-LCHlch(47.72, 82.90, 320.28°)
OKLaboklab(57.72% 0.1606 -0.1488)
OKLCHoklch(57.72% 0.219 317.2)
XYZxyz(29.4696, 16.5738, 58.7618)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3FCC #60CC3F
analogous
#643FCC #AB3FCC #CC3FA7
triadic
#AB3FCC #CCAB3F #3FCCAB
tetradic
#AB3FCC #CC643F #60CC3F #3FA7CC
square
#AB3FCC #CC643F #60CC3F #3FA7CC
split-complementary
#AB3FCC #A7CC3F #3FCC64
monochromatic
#5F1E72 #872BA3 #AB3FCC #C06FD9 #D5A0E6

Accessibility & contrast

On white

4.87
#AB3FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#AB3FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3FCC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3FCC#FFFFFF#000000##FFFFFF
##AB3FCC1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#4274C9
Tritanopia (blue-blind)
#AA5B81
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3fcc;
/* rgb */ color: rgb(171, 63, 204);
/* oklch */ color: oklch(57.7% 0.219 317.2);
Tailwind
colors: {
  custom: {
    50: '#c87ddc',
    500: '#ab3fcc',
    950: '#000000',
  },
}
SCSS
$custom: #ab3fcc;
$custom-light: #c87ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3fcc",
  "rgb": {
    "r": 171,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 285.957,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57723,
    "c": 0.21888,
    "h": 317.2
  },
  "luminance": 0.16573
}

Semantic roles & 50–950 ramp

primary
#AB3FCC
secondary
#A3D295
accent
#E1476B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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