#AB72F9#AB72F9

#AB72F9 is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.1% C 0.196 H 300.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AB72F9
RGBrgb(171, 114, 249)
HSLhsl(265, 92%, 71%)
HSVhsv(265, 54%, 98%)
CMYKcmyk(31.3%, 54.2%, 0%, 2.4%)
CIE-LABlab(59.46, 49.13, -59.53)
CIE-LCHlch(59.46, 77.18, 309.53°)
OKLaboklab(67.12% 0.1 -0.1682)
OKLCHoklch(67.12% 0.196 300.7)
XYZxyz(39.9068, 27.5319, 92.8159)
Luminance0.2753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72F9 #C0F972
analogous
#727CF9 #AB72F9 #EE72F9
triadic
#AB72F9 #F9AB72 #72F9AB
tetradic
#AB72F9 #F9727C #C0F972 #72F9EE
square
#AB72F9 #F9727C #C0F972 #72F9EE
split-complementary
#AB72F9 #F9EE72 #7CF972
monochromatic
#670AE7 #8837F7 #AB72F9 #CEADFB #EEE2FE

Accessibility & contrast

On white

3.23
#AB72F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#AB72F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72F9
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72F9#FFFFFF#000000##000000
##AB72F91.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8FFE
Deuteranopia (green-blind)
#4F8EF6
Tritanopia (blue-blind)
#9B8DAB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab72f9;
/* rgb */ color: rgb(171, 114, 249);
/* oklch */ color: oklch(67.1% 0.196 300.7);
Tailwind
colors: {
  custom: {
    50: '#c89cfc',
    500: '#ab72f9',
    950: '#000000',
  },
}
SCSS
$custom: #ab72f9;
$custom-light: #c89cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72f9",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 249
  },
  "hsl": {
    "h": 265.333,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67116,
    "c": 0.19567,
    "h": 300.7
  },
  "luminance": 0.27532
}

Semantic roles & 50–950 ramp

primary
#AB72F9
secondary
#E6F5D2
accent
#E60085
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB72F9

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

Preview Lab → · Contrast checker → · Palette generator →

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