#AB72F3#AB72F3

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

Color values

HEX#AB72F3
RGBrgb(171, 114, 243)
HSLhsl(267, 84%, 70%)
HSVhsv(267, 53%, 95%)
CMYKcmyk(29.6%, 53.1%, 0%, 4.7%)
CIE-LABlab(59.13, 47.68, -56.75)
CIE-LCHlch(59.13, 74.12, 310.04°)
OKLaboklab(66.76% 0.0997 -0.16)
OKLCHoklch(66.76% 0.189 301.9)
XYZxyz(38.9859, 27.1635, 87.9658)
Luminance0.2716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72F3 #BAF372
analogous
#7279F3 #AB72F3 #EC72F3
triadic
#AB72F3 #F3AB72 #72F3AB
tetradic
#AB72F3 #F37279 #BAF372 #72F3EC
square
#AB72F3 #F37279 #BAF372 #72F3EC
split-complementary
#AB72F3 #F3EC72 #79F372
monochromatic
#6A12D8 #893AEE #AB72F3 #CDAAF8 #EEE3FD

Accessibility & contrast

On white

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

On black

6.43
#AB72F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72F3
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72F3#FFFFFF#000000##000000
##AB72F31.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#438DF7
Deuteranopia (green-blind)
#558EF0
Tritanopia (blue-blind)
#9D8BA8
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab72f3;
/* rgb */ color: rgb(171, 114, 243);
/* oklch */ color: oklch(66.8% 0.189 301.9);
Tailwind
colors: {
  custom: {
    50: '#c79cf8',
    500: '#ab72f3',
    950: '#000000',
  },
}
SCSS
$custom: #ab72f3;
$custom-light: #c79cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72f3",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 243
  },
  "hsl": {
    "h": 266.512,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.66757,
    "c": 0.18858,
    "h": 301.9
  },
  "luminance": 0.27164
}

Semantic roles & 50–950 ramp

primary
#AB72F3
secondary
#E2F2CE
accent
#E10580
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB72F3

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

Preview Lab → · Contrast checker → · Palette generator →

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