#AB72F6#AB72F6

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

Color values

HEX#AB72F6
RGBrgb(171, 114, 246)
HSLhsl(266, 88%, 71%)
HSVhsv(266, 54%, 96%)
CMYKcmyk(30.5%, 53.7%, 0%, 3.5%)
CIE-LABlab(59.29, 48.41, -58.14)
CIE-LCHlch(59.29, 75.65, 309.78°)
OKLaboklab(66.94% 0.0999 -0.1641)
OKLCHoklch(66.94% 0.192 301.3)
XYZxyz(39.4426, 27.3462, 90.3713)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72F6 #BDF672
analogous
#727BF6 #AB72F6 #ED72F6
triadic
#AB72F6 #F6AB72 #72F6AB
tetradic
#AB72F6 #F6727B #BDF672 #72F6ED
square
#AB72F6 #F6727B #BDF672 #72F6ED
split-complementary
#AB72F6 #F6ED72 #7BF672
monochromatic
#690EDF #8938F2 #AB72F6 #CDACFA #EEE2FD

Accessibility & contrast

On white

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

On black

6.47
#AB72F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72F6
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72F6#FFFFFF#000000##000000
##AB72F61.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8EFA
Deuteranopia (green-blind)
#528EF3
Tritanopia (blue-blind)
#9C8CA9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab72f6;
/* rgb */ color: rgb(171, 114, 246);
/* oklch */ color: oklch(66.9% 0.192 301.3);
Tailwind
colors: {
  custom: {
    50: '#c89cfa',
    500: '#ab72f6',
    950: '#000000',
  },
}
SCSS
$custom: #ab72f6;
$custom-light: #c89cfa;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72f6",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 246
  },
  "hsl": {
    "h": 265.909,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66936,
    "c": 0.19213,
    "h": 301.3
  },
  "luminance": 0.27346
}

Semantic roles & 50–950 ramp

primary
#AB72F6
secondary
#E4F4D0
accent
#E50182
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB72F6

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

Preview Lab → · Contrast checker → · Palette generator →

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