#AB72F8#AB72F8

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

Color values

HEX#AB72F8
RGBrgb(171, 114, 248)
HSLhsl(266, 91%, 71%)
HSVhsv(266, 54%, 97%)
CMYKcmyk(31%, 54%, 0%, 2.7%)
CIE-LABlab(59.41, 48.89, -59.06)
CIE-LCHlch(59.41, 76.67, 309.61°)
OKLaboklab(67.06% 0.1 -0.1668)
OKLCHoklch(67.06% 0.194 300.9)
XYZxyz(39.7512, 27.4697, 91.9967)
Luminance0.2747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72F8 #BFF872
analogous
#727CF8 #AB72F8 #EE72F8
triadic
#AB72F8 #F8AB72 #72F8AB
tetradic
#AB72F8 #F8727C #BFF872 #72F8EE
square
#AB72F8 #F8727C #BFF872 #72F8EE
split-complementary
#AB72F8 #F8EE72 #7CF872
monochromatic
#680BE4 #8838F5 #AB72F8 #CEACFB #EEE2FE

Accessibility & contrast

On white

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

On black

6.49
#AB72F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72F8
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72F8#FFFFFF#000000##000000
##AB72F81.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8EFC
Deuteranopia (green-blind)
#508EF5
Tritanopia (blue-blind)
#9C8CAA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab72f8;
/* rgb */ color: rgb(171, 114, 248);
/* oklch */ color: oklch(67.1% 0.194 300.9);
Tailwind
colors: {
  custom: {
    50: '#c89cfb',
    500: '#ab72f8',
    950: '#000000',
  },
}
SCSS
$custom: #ab72f8;
$custom-light: #c89cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72f8",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 265.522,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67056,
    "c": 0.19449,
    "h": 300.9
  },
  "luminance": 0.2747
}

Semantic roles & 50–950 ramp

primary
#AB72F8
secondary
#E6F5D1
accent
#E60084
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB72F8

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

Preview Lab → · Contrast checker → · Palette generator →

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