#AB72FB#AB72FB

#AB72FB is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.2% C 0.198 H 300.3°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AB72FB
RGBrgb(171, 114, 251)
HSLhsl(265, 94%, 72%)
HSVhsv(265, 55%, 98%)
CMYKcmyk(31.9%, 54.6%, 0%, 1.6%)
CIE-LABlab(59.58, 49.61, -60.45)
CIE-LCHlch(59.58, 78.20, 309.38°)
OKLaboklab(67.24% 0.1001 -0.1709)
OKLCHoklch(67.24% 0.198 300.3)
XYZxyz(40.2204, 27.6573, 94.4675)
Luminance0.2766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72FB #C2FB72
analogous
#727EFB #AB72FB #F072FB
triadic
#AB72FB #FBAB72 #72FBAB
tetradic
#AB72FB #FB727E #C2FB72 #72FBF0
square
#AB72FB #FB727E #C2FB72 #72FBF0
split-complementary
#AB72FB #FBF072 #7EFB72
monochromatic
#6607EC #8836F9 #AB72FB #CEAEFD #EDE1FE

Accessibility & contrast

On white

3.22
#AB72FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#AB72FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72FB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72FB#FFFFFF#000000##000000
##AB72FB1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#398FFF
Deuteranopia (green-blind)
#4D8FF8
Tritanopia (blue-blind)
#9B8DAC
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab72fb;
/* rgb */ color: rgb(171, 114, 251);
/* oklch */ color: oklch(67.2% 0.198 300.3);
Tailwind
colors: {
  custom: {
    50: '#c89cfd',
    500: '#ab72fb',
    950: '#000000',
  },
}
SCSS
$custom: #ab72fb;
$custom-light: #c89cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72fb",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 264.964,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67237,
    "c": 0.19803,
    "h": 300.3
  },
  "luminance": 0.27658
}

Semantic roles & 50–950 ramp

primary
#AB72FB
secondary
#E7F6D3
accent
#E60086
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AB72FB

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

Preview Lab → · Contrast checker → · Palette generator →

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