#AB72D2#AB72D2

#AB72D2 is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.9% C 0.149 H 310.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AB72D2
RGBrgb(171, 114, 210)
HSLhsl(276, 52%, 64%)
HSVhsv(276, 46%, 82%)
CMYKcmyk(18.6%, 45.7%, 0%, 17.6%)
CIE-LABlab(57.41, 40.04, -41.00)
CIE-LCHlch(57.41, 57.31, 314.32°)
OKLaboklab(64.93% 0.0965 -0.1141)
OKLCHoklch(64.93% 0.149 310.2)
XYZxyz(34.4426, 25.3463, 64.0382)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72D2 #99D272
analogous
#7B72D2 #AB72D2 #D272C9
triadic
#AB72D2 #D2AB72 #72D2AB
tetradic
#AB72D2 #D27B72 #99D272 #72C9D2
square
#AB72D2 #D27B72 #99D272 #72C9D2
split-complementary
#AB72D2 #C9D272 #72D27B
monochromatic
#6F3199 #8F44C3 #AB72D2 #C7A0E1 #E2CFF0

Accessibility & contrast

On white

3.46
#AB72D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#AB72D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72D2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72D2#FFFFFF#000000##000000
##AB72D21.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C87D5
Deuteranopia (green-blind)
#6B8BCF
Tritanopia (blue-blind)
#A68198
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab72d2;
/* rgb */ color: rgb(171, 114, 210);
/* oklch */ color: oklch(64.9% 0.149 310.2);
Tailwind
colors: {
  custom: {
    50: '#c69ce0',
    500: '#ab72d2',
    950: '#000000',
  },
}
SCSS
$custom: #ab72d2;
$custom-light: #c69ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72d2",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 210
  },
  "hsl": {
    "h": 275.625,
    "s": 51.613,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64927,
    "c": 0.14945,
    "h": 310.2
  },
  "luminance": 0.25346
}

Semantic roles & 50–950 ramp

primary
#AB72D2
secondary
#CDE1BF
accent
#BF2664
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB72D2

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

Preview Lab → · Contrast checker → · Palette generator →

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