#AB72F4#AB72F4

#AB72F4 is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.8% C 0.190 H 301.7°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AB72F4
RGBrgb(171, 114, 244)
HSLhsl(266, 86%, 70%)
HSVhsv(266, 53%, 96%)
CMYKcmyk(29.9%, 53.3%, 0%, 4.3%)
CIE-LABlab(59.18, 47.92, -57.21)
CIE-LCHlch(59.18, 74.63, 309.95°)
OKLaboklab(66.82% 0.0998 -0.1614)
OKLCHoklch(66.82% 0.19 301.7)
XYZxyz(39.1373, 27.2241, 88.7633)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72F4 #BBF472
analogous
#727AF4 #AB72F4 #EC72F4
triadic
#AB72F4 #F4AB72 #72F4AB
tetradic
#AB72F4 #F4727A #BBF472 #72F4EC
square
#AB72F4 #F4727A #BBF472 #72F4EC
split-complementary
#AB72F4 #F4EC72 #7AF472
monochromatic
#6911DB #8939F0 #AB72F4 #CDABF8 #EEE3FD

Accessibility & contrast

On white

3.26
#AB72F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#AB72F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72F4
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72F4#FFFFFF#000000##000000
##AB72F41.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#428EF8
Deuteranopia (green-blind)
#548EF1
Tritanopia (blue-blind)
#9D8BA8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab72f4;
/* rgb */ color: rgb(171, 114, 244);
/* oklch */ color: oklch(66.8% 0.190 301.7);
Tailwind
colors: {
  custom: {
    50: '#c79cf8',
    500: '#ab72f4',
    950: '#000000',
  },
}
SCSS
$custom: #ab72f4;
$custom-light: #c79cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72f4",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 244
  },
  "hsl": {
    "h": 266.308,
    "s": 85.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66817,
    "c": 0.18977,
    "h": 301.7
  },
  "luminance": 0.27224
}

Semantic roles & 50–950 ramp

primary
#AB72F4
secondary
#E3F3CF
accent
#E20380
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB72F4

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

Preview Lab → · Contrast checker → · Palette generator →

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