#AB3CD2#AB3CD2

#AB3CD2 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.228 H 315.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#AB3CD2
RGBrgb(171, 60, 210)
HSLhsl(284, 63%, 53%)
HSVhsv(284, 71%, 82%)
CMYKcmyk(18.6%, 71.4%, 0%, 17.6%)
CIE-LABlab(47.68, 66.11, -56.48)
CIE-LCHlch(47.68, 86.95, 319.49°)
OKLaboklab(57.82% 0.1631 -0.159)
OKLCHoklch(57.82% 0.228 315.7)
XYZxyz(30.0415, 16.5439, 62.5711)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CD2 #63D23C
analogous
#603CD2 #AB3CD2 #D23CAE
triadic
#AB3CD2 #D2AB3C #3CD2AB
tetradic
#AB3CD2 #D2603C #63D23C #3CAED2
square
#AB3CD2 #D2603C #63D23C #3CAED2
split-complementary
#AB3CD2 #AED23C #3CD260
monochromatic
#601C78 #8827AA #AB3CD2 #C06EDD #D69FE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3CD2#FFFFFF#000000##FFFFFF
##AB3CD21.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)
#006BD6
Deuteranopia (green-blind)
#3974CF
Tritanopia (blue-blind)
#A85B84
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ab3cd2;
/* rgb */ color: rgb(171, 60, 210);
/* oklch */ color: oklch(57.8% 0.228 315.7);
Tailwind
colors: {
  custom: {
    50: '#c87ce1',
    500: '#ab3cd2',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cd2;
$custom-light: #c87ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cd2",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 284.4,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57816,
    "c": 0.22777,
    "h": 315.7
  },
  "luminance": 0.16543
}

Semantic roles & 50–950 ramp

primary
#AB3CD2
secondary
#A5D594
accent
#E6426D
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#140A15
muted
#827C83

Preview Lab

Preview with #AB3CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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