#AB72F5#AB72F5

#AB72F5 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.9% C 0.191 H 301.5°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AB72F5
RGBrgb(171, 114, 245)
HSLhsl(266, 87%, 70%)
HSVhsv(266, 53%, 96%)
CMYKcmyk(30.2%, 53.5%, 0%, 3.9%)
CIE-LABlab(59.24, 48.16, -57.67)
CIE-LCHlch(59.24, 75.14, 309.87°)
OKLaboklab(66.88% 0.0998 -0.1628)
OKLCHoklch(66.88% 0.191 301.5)
XYZxyz(39.2895, 27.2850, 89.5651)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72F5 #BCF572
analogous
#727AF5 #AB72F5 #ED72F5
triadic
#AB72F5 #F5AB72 #72F5AB
tetradic
#AB72F5 #F5727A #BCF572 #72F5ED
square
#AB72F5 #F5727A #BCF572 #72F5ED
split-complementary
#AB72F5 #F5ED72 #7AF572
monochromatic
#6910DD #8939F1 #AB72F5 #CDABF9 #EEE2FD

Accessibility & contrast

On white

3.25
#AB72F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#AB72F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72F5
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72F5#FFFFFF#000000##000000
##AB72F51.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#418EF9
Deuteranopia (green-blind)
#538EF2
Tritanopia (blue-blind)
#9D8BA9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab72f5;
/* rgb */ color: rgb(171, 114, 245);
/* oklch */ color: oklch(66.9% 0.191 301.5);
Tailwind
colors: {
  custom: {
    50: '#c79cf9',
    500: '#ab72f5',
    950: '#000000',
  },
}
SCSS
$custom: #ab72f5;
$custom-light: #c79cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72f5",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 266.107,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66876,
    "c": 0.19095,
    "h": 301.5
  },
  "luminance": 0.27285
}

Semantic roles & 50–950 ramp

primary
#AB72F5
secondary
#E4F3CF
accent
#E30281
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB72F5

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

Preview Lab → · Contrast checker → · Palette generator →

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