#AB72DD#AB72DD

#AB72DD is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.5% C 0.162 H 307.1°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AB72DD
RGBrgb(171, 114, 221)
HSLhsl(272, 61%, 66%)
HSVhsv(272, 48%, 87%)
CMYKcmyk(22.6%, 48.4%, 0%, 13.3%)
CIE-LABlab(57.95, 42.52, -46.33)
CIE-LCHlch(57.95, 62.89, 312.55°)
OKLaboklab(65.51% 0.0979 -0.1296)
OKLCHoklch(65.51% 0.162 307.1)
XYZxyz(35.8604, 25.9134, 71.5052)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72DD #A4DD72
analogous
#7572DD #AB72DD #DD72D9
triadic
#AB72DD #DDAB72 #72DDAB
tetradic
#AB72DD #DD7572 #A4DD72 #72D9DD
square
#AB72DD #DD7572 #A4DD72 #72D9DD
split-complementary
#AB72DD #D9DD72 #72DD75
monochromatic
#6F29AB #8E41D1 #AB72DD #C8A3E9 #E6D5F5

Accessibility & contrast

On white

3.40
#AB72DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#AB72DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72DD
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72DD#FFFFFF#000000##000000
##AB72DD1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5589E1
Deuteranopia (green-blind)
#658CDA
Tritanopia (blue-blind)
#A4849D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab72dd;
/* rgb */ color: rgb(171, 114, 221);
/* oklch */ color: oklch(65.5% 0.162 307.1);
Tailwind
colors: {
  custom: {
    50: '#c69ce8',
    500: '#ab72dd',
    950: '#000000',
  },
}
SCSS
$custom: #ab72dd;
$custom-light: #c69ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72dd",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 271.963,
    "s": 61.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6551,
    "c": 0.16247,
    "h": 307.1
  },
  "luminance": 0.25913
}

Semantic roles & 50–950 ramp

primary
#AB72DD
secondary
#D4E7C4
accent
#C91D6D
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB72DD

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

Preview Lab → · Contrast checker → · Palette generator →

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