#AB72CC#AB72CC

#AB72CC is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.6% C 0.142 H 312.1°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AB72CC
RGBrgb(171, 114, 204)
HSLhsl(278, 47%, 62%)
HSVhsv(278, 44%, 80%)
CMYKcmyk(16.2%, 44.1%, 0%, 20%)
CIE-LABlab(57.13, 38.72, -38.05)
CIE-LCHlch(57.13, 54.28, 315.50°)
OKLaboklab(64.62% 0.0955 -0.1056)
OKLCHoklch(64.62% 0.142 312.1)
XYZxyz(33.7091, 25.0528, 60.1750)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72CC #93CC72
analogous
#7E72CC #AB72CC #CC72C0
triadic
#AB72CC #CCAB72 #72CCAB
tetradic
#AB72CC #CC7E72 #93CC72 #72C0CC
square
#AB72CC #CC7E72 #93CC72 #72C0CC
split-complementary
#AB72CC #C0CC72 #72CC7E
monochromatic
#6E3490 #9045BC #AB72CC #C69FDC #E1CCED

Accessibility & contrast

On white

3.49
#AB72CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#AB72CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72CC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72CC#FFFFFF#000000##000000
##AB72CC1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#6E8ACA
Tritanopia (blue-blind)
#A87F95
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab72cc;
/* rgb */ color: rgb(171, 114, 204);
/* oklch */ color: oklch(64.6% 0.142 312.1);
Tailwind
colors: {
  custom: {
    50: '#c59cdc',
    500: '#ab72cc',
    950: '#000000',
  },
}
SCSS
$custom: #ab72cc;
$custom-light: #c59cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72cc",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 204
  },
  "hsl": {
    "h": 278,
    "s": 46.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64621,
    "c": 0.14241,
    "h": 312.1
  },
  "luminance": 0.25052
}

Semantic roles & 50–950 ramp

primary
#AB72CC
secondary
#C9DDBC
accent
#BA2B60
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB72CC

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

Preview Lab → · Contrast checker → · Palette generator →

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