#AB72DA#AB72DA

#AB72DA is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.3% C 0.159 H 307.9°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AB72DA
RGBrgb(171, 114, 218)
HSLhsl(273, 58%, 65%)
HSVhsv(273, 48%, 85%)
CMYKcmyk(21.6%, 47.7%, 0%, 14.5%)
CIE-LABlab(57.80, 41.84, -44.89)
CIE-LCHlch(57.80, 61.36, 312.99°)
OKLaboklab(65.35% 0.0976 -0.1254)
OKLCHoklch(65.35% 0.159 307.9)
XYZxyz(35.4643, 25.7549, 69.4190)
Luminance0.2576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72DA #A1DA72
analogous
#7772DA #AB72DA #DA72D5
triadic
#AB72DA #DAAB72 #72DAAB
tetradic
#AB72DA #DA7772 #A1DA72 #72D5DA
square
#AB72DA #DA7772 #A1DA72 #72D5DA
split-complementary
#AB72DA #D5DA72 #72DA77
monochromatic
#6F2CA6 #8E42CD #AB72DA #C8A2E7 #E5D3F3

Accessibility & contrast

On white

3.41
#AB72DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#AB72DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72DA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72DA#FFFFFF#000000##000000
##AB72DA1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5789DE
Deuteranopia (green-blind)
#678CD7
Tritanopia (blue-blind)
#A4839C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab72da;
/* rgb */ color: rgb(171, 114, 218);
/* oklch */ color: oklch(65.3% 0.159 307.9);
Tailwind
colors: {
  custom: {
    50: '#c69ce6',
    500: '#ab72da',
    950: '#000000',
  },
}
SCSS
$custom: #ab72da;
$custom-light: #c69ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72da",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 218
  },
  "hsl": {
    "h": 272.885,
    "s": 58.427,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65348,
    "c": 0.15892,
    "h": 307.9
  },
  "luminance": 0.25755
}

Semantic roles & 50–950 ramp

primary
#AB72DA
secondary
#D2E6C2
accent
#C61F6B
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB72DA

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

Preview Lab → · Contrast checker → · Palette generator →

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