#AB72DF#AB72DF

#AB72DF is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.6% C 0.165 H 306.5°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AB72DF
RGBrgb(171, 114, 223)
HSLhsl(271, 63%, 66%)
HSVhsv(271, 49%, 87%)
CMYKcmyk(23.3%, 48.9%, 0%, 12.5%)
CIE-LABlab(58.06, 42.98, -47.30)
CIE-LCHlch(58.06, 63.91, 312.27°)
OKLaboklab(65.62% 0.0982 -0.1324)
OKLCHoklch(65.62% 0.165 306.5)
XYZxyz(36.1285, 26.0206, 72.9169)
Luminance0.2602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72DF #A6DF72
analogous
#7472DF #AB72DF #DF72DD
triadic
#AB72DF #DFAB72 #72DFAB
tetradic
#AB72DF #DF7472 #A6DF72 #72DDDF
square
#AB72DF #DF7472 #A6DF72 #72DDDF
split-complementary
#AB72DF #DDDF72 #72DF74
monochromatic
#6E28AF #8D40D4 #AB72DF #C9A4EA #E6D6F6

Accessibility & contrast

On white

3.38
#AB72DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#AB72DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72DF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72DF#FFFFFF#000000##000000
##AB72DF1.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5489E3
Deuteranopia (green-blind)
#648CDC
Tritanopia (blue-blind)
#A3859E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ab72df;
/* rgb */ color: rgb(171, 114, 223);
/* oklch */ color: oklch(65.6% 0.165 306.5);
Tailwind
colors: {
  custom: {
    50: '#c69ce9',
    500: '#ab72df',
    950: '#000000',
  },
}
SCSS
$custom: #ab72df;
$custom-light: #c69ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72df",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 271.376,
    "s": 63.006,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65618,
    "c": 0.16485,
    "h": 306.5
  },
  "luminance": 0.2602
}

Semantic roles & 50–950 ramp

primary
#AB72DF
secondary
#D6E8C4
accent
#CB1B6F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB72DF

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

Preview Lab → · Contrast checker → · Palette generator →

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