#AB3CD7#AB3CD7

#AB3CD7 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.1% C 0.232 H 314.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#AB3CD7
RGBrgb(171, 60, 215)
HSLhsl(283, 66%, 54%)
HSVhsv(283, 72%, 84%)
CMYKcmyk(20.5%, 72.1%, 0%, 15.7%)
CIE-LABlab(48.00, 67.09, -58.83)
CIE-LCHlch(48.00, 89.23, 318.75°)
OKLaboklab(58.15% 0.1625 -0.1659)
OKLCHoklch(58.15% 0.232 314.4)
XYZxyz(30.6741, 16.7970, 65.9031)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3CD7 #68D73C
analogous
#5E3CD7 #AB3CD7 #D73CB5
triadic
#AB3CD7 #D7AB3C #3CD7AB
tetradic
#AB3CD7 #D75E3C #68D73C #3CB5D7
square
#AB3CD7 #D75E3C #68D73C #3CB5D7
split-complementary
#AB3CD7 #B5D73C #3CD75E
monochromatic
#621A7F #8924B1 #AB3CD7 #C16FE1 #D7A2EC

Accessibility & contrast

On white

4.82
#AB3CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AB3CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3CD7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3CD7#FFFFFF#000000##FFFFFF
##AB3CD71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#3375D4
Tritanopia (blue-blind)
#A75D86
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ab3cd7;
/* rgb */ color: rgb(171, 60, 215);
/* oklch */ color: oklch(58.1% 0.232 314.4);
Tailwind
colors: {
  custom: {
    50: '#c87ce4',
    500: '#ab3cd7',
    950: '#000000',
  },
}
SCSS
$custom: #ab3cd7;
$custom-light: #c87ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3cd7",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 215
  },
  "hsl": {
    "h": 282.968,
    "s": 65.957,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58148,
    "c": 0.23223,
    "h": 314.4
  },
  "luminance": 0.16796
}

Semantic roles & 50–950 ramp

primary
#AB3CD7
secondary
#A9D896
accent
#E93F6F
background
#FCF7FE
surface
#F9EEFC
border
#D2C9D5
text
#140A16
muted
#827C84

Preview Lab

Preview with #AB3CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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