#AB3CCF#AB3CCF

#AB3CCF is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.225 H 316.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#AB3CCF
RGBrgb(171, 60, 207)
HSLhsl(285, 60%, 52%)
HSVhsv(285, 71%, 81%)
CMYKcmyk(17.4%, 71%, 0%, 18.8%)
CIE-LABlab(47.49, 65.52, -55.07)
CIE-LCHlch(47.49, 85.59, 319.95°)
OKLaboklab(57.62% 0.1633 -0.1549)
OKLCHoklch(57.62% 0.225 316.5)
XYZxyz(29.6712, 16.3958, 60.6211)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CCF #60CF3C
analogous
#613CCF #AB3CCF #CF3CAA
triadic
#AB3CCF #CFAB3C #3CCFAB
tetradic
#AB3CCF #CF613C #60CF3C #3CAACF
square
#AB3CCF #CF613C #60CF3C #3CAACF
split-complementary
#AB3CCF #AACF3C #3CCF61
monochromatic
#5F1D74 #8729A5 #AB3CCF #C06DDB #D59EE7

Accessibility & contrast

On white

4.91
#AB3CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#AB3CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CCF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CCF#FFFFFF#000000##FFFFFF
##AB3CCF1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#3D74CC
Tritanopia (blue-blind)
#A95A82
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3ccf;
/* rgb */ color: rgb(171, 60, 207);
/* oklch */ color: oklch(57.6% 0.225 316.5);
Tailwind
colors: {
  custom: {
    50: '#c87cde',
    500: '#ab3ccf',
    950: '#000000',
  },
}
SCSS
$custom: #ab3ccf;
$custom-light: #c87cde;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3ccf",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 207
  },
  "hsl": {
    "h": 285.306,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57619,
    "c": 0.2251,
    "h": 316.5
  },
  "luminance": 0.16395
}

Semantic roles & 50–950 ramp

primary
#AB3CCF
secondary
#A3D393
accent
#E4446B
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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