#AB72FF#AB72FF

#AB72FF is a light, highly saturated violet. Relative luminance 0.279; OKLCH L 67.5% C 0.203 H 299.6°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AB72FF
RGBrgb(171, 114, 255)
HSLhsl(264, 100%, 72%)
HSVhsv(264, 55%, 100%)
CMYKcmyk(32.9%, 55.3%, 0%, 0%)
CIE-LABlab(59.81, 50.59, -62.28)
CIE-LCHlch(59.81, 80.24, 309.09°)
OKLaboklab(67.48% 0.1002 -0.1763)
OKLCHoklch(67.48% 0.203 299.6)
XYZxyz(40.8575, 27.9122, 97.8234)
Luminance0.2791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72FF #C6FF72
analogous
#7280FF #AB72FF #F172FF
triadic
#AB72FF #FFAB72 #72FFAB
tetradic
#AB72FF #FF7280 #C6FF72 #72FFF1
square
#AB72FF #FF7280 #C6FF72 #72FFF1
split-complementary
#AB72FF #FFF172 #80FF72
monochromatic
#6400F7 #8735FF #AB72FF #CFAFFF #EDE0FF

Accessibility & contrast

On white

3.19
#AB72FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#AB72FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72FF
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72FF#FFFFFF#000000##000000
##AB72FF1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3490FF
Deuteranopia (green-blind)
#498FFC
Tritanopia (blue-blind)
#998EAE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab72ff;
/* rgb */ color: rgb(171, 114, 255);
/* oklch */ color: oklch(67.5% 0.203 299.6);
Tailwind
colors: {
  custom: {
    50: '#c89cff',
    500: '#ab72ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab72ff;
$custom-light: #c89cff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72ff",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 255
  },
  "hsl": {
    "h": 264.255,
    "s": 100,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67482,
    "c": 0.20274,
    "h": 299.6
  },
  "luminance": 0.27913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB72FF

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

Preview Lab → · Contrast checker → · Palette generator →

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