#AB72CA#AB72CA

#AB72CA is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.5% C 0.140 H 312.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AB72CA
RGBrgb(171, 114, 202)
HSLhsl(279, 45%, 62%)
HSVhsv(279, 44%, 79%)
CMYKcmyk(15.3%, 43.6%, 0%, 20.8%)
CIE-LABlab(57.03, 38.28, -37.06)
CIE-LCHlch(57.03, 53.28, 315.93°)
OKLaboklab(64.52% 0.0952 -0.1027)
OKLCHoklch(64.52% 0.14 312.8)
XYZxyz(33.4708, 24.9575, 58.9197)
Luminance0.2496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72CA #91CA72
analogous
#7F72CA #AB72CA #CA72BD
triadic
#AB72CA #CAAB72 #72CAAB
tetradic
#AB72CA #CA7F72 #91CA72 #72BDCA
square
#AB72CA #CA7F72 #91CA72 #72BDCA
split-complementary
#AB72CA #BDCA72 #72CA7F
monochromatic
#6E358D #9046B9 #AB72CA #C59EDB #E0CBEB

Accessibility & contrast

On white

3.51
#AB72CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#AB72CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72CA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72CA#FFFFFF#000000##000000
##AB72CA1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6086CD
Deuteranopia (green-blind)
#6F8AC8
Tritanopia (blue-blind)
#A87F94
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab72ca;
/* rgb */ color: rgb(171, 114, 202);
/* oklch */ color: oklch(64.5% 0.140 312.8);
Tailwind
colors: {
  custom: {
    50: '#c59cda',
    500: '#ab72ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab72ca;
$custom-light: #c59cda;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72ca",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 278.864,
    "s": 45.361,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64521,
    "c": 0.14007,
    "h": 312.8
  },
  "luminance": 0.24957
}

Semantic roles & 50–950 ramp

primary
#AB72CA
secondary
#C7DCBC
accent
#B92D5E
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB72CA

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

Preview Lab → · Contrast checker → · Palette generator →

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