#AB72CE#AB72CE

#AB72CE is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.7% C 0.145 H 311.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AB72CE
RGBrgb(171, 114, 206)
HSLhsl(277, 48%, 63%)
HSVhsv(277, 45%, 81%)
CMYKcmyk(17%, 44.7%, 0%, 19.2%)
CIE-LABlab(57.22, 39.16, -39.03)
CIE-LCHlch(57.22, 55.29, 315.09°)
OKLaboklab(64.72% 0.0959 -0.1084)
OKLCHoklch(64.72% 0.145 311.5)
XYZxyz(33.9505, 25.1494, 61.4464)
Luminance0.2515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72CE #95CE72
analogous
#7D72CE #AB72CE #CE72C3
triadic
#AB72CE #CEAB72 #72CEAB
tetradic
#AB72CE #CE7D72 #95CE72 #72C3CE
square
#AB72CE #CE7D72 #95CE72 #72C3CE
split-complementary
#AB72CE #C3CE72 #72CE7D
monochromatic
#6E3393 #9045BE #AB72CE #C69FDE #E1CDEE

Accessibility & contrast

On white

3.48
#AB72CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#AB72CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72CE
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72CE#FFFFFF#000000##000000
##AB72CE1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E86D1
Deuteranopia (green-blind)
#6D8BCB
Tritanopia (blue-blind)
#A78096
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab72ce;
/* rgb */ color: rgb(171, 114, 206);
/* oklch */ color: oklch(64.7% 0.145 311.5);
Tailwind
colors: {
  custom: {
    50: '#c69cdd',
    500: '#ab72ce',
    950: '#000000',
  },
}
SCSS
$custom: #ab72ce;
$custom-light: #c69cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72ce",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 277.174,
    "s": 48.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64722,
    "c": 0.14475,
    "h": 311.5
  },
  "luminance": 0.25149
}

Semantic roles & 50–950 ramp

primary
#AB72CE
secondary
#CADFBD
accent
#BC2A61
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB72CE

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

Preview Lab → · Contrast checker → · Palette generator →

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