#AB72FE#AB72FE

#AB72FE is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.4% C 0.202 H 299.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AB72FE
RGBrgb(171, 114, 254)
HSLhsl(264, 99%, 72%)
HSVhsv(264, 55%, 100%)
CMYKcmyk(32.7%, 55.1%, 0%, 0.4%)
CIE-LABlab(59.75, 50.34, -61.82)
CIE-LCHlch(59.75, 79.73, 309.16°)
OKLaboklab(67.42% 0.1001 -0.1749)
OKLCHoklch(67.42% 0.202 299.8)
XYZxyz(40.6970, 27.8480, 96.9778)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72FE #C5FE72
analogous
#727FFE #AB72FE #F172FE
triadic
#AB72FE #FEAB72 #72FEAB
tetradic
#AB72FE #FE727F #C5FE72 #72FEF1
square
#AB72FE #FE727F #C5FE72 #72FEF1
split-complementary
#AB72FE #FEF172 #7FFE72
monochromatic
#6402F4 #8735FE #AB72FE #CFAFFE #EDE1FF

Accessibility & contrast

On white

3.20
#AB72FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#AB72FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72FE
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72FE#FFFFFF#000000##000000
##AB72FE1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3590FF
Deuteranopia (green-blind)
#4A8FFB
Tritanopia (blue-blind)
#9A8EAD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab72fe;
/* rgb */ color: rgb(171, 114, 254);
/* oklch */ color: oklch(67.4% 0.202 299.8);
Tailwind
colors: {
  custom: {
    50: '#c89cff',
    500: '#ab72fe',
    950: '#000000',
  },
}
SCSS
$custom: #ab72fe;
$custom-light: #c89cff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72fe",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 264.429,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6742,
    "c": 0.20157,
    "h": 299.8
  },
  "luminance": 0.27848
}

Semantic roles & 50–950 ramp

primary
#AB72FE
secondary
#E9F7D4
accent
#E60088
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB72FE

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

Preview Lab → · Contrast checker → · Palette generator →

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