#AB72E5#AB72E5

#AB72E5 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.0% C 0.172 H 305.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AB72E5
RGBrgb(171, 114, 229)
HSLhsl(270, 69%, 67%)
HSVhsv(270, 50%, 90%)
CMYKcmyk(25.3%, 50.2%, 0%, 10.2%)
CIE-LABlab(58.37, 44.37, -50.16)
CIE-LCHlch(58.37, 66.97, 311.50°)
OKLaboklab(65.95% 0.0988 -0.1408)
OKLCHoklch(65.95% 0.172 305)
XYZxyz(36.9518, 26.3499, 77.2529)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72E5 #ACE572
analogous
#7273E5 #AB72E5 #E472E5
triadic
#AB72E5 #E5AB72 #72E5AB
tetradic
#AB72E5 #E57273 #ACE572 #72E5E4
square
#AB72E5 #E57273 #ACE572 #72E5E4
split-complementary
#AB72E5 #E5E472 #73E572
monochromatic
#6E22BA #8C3EDB #AB72E5 #CAA6EF #E9D9F8

Accessibility & contrast

On white

3.35
#AB72E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#AB72E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72E5
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72E5#FFFFFF#000000##000000
##AB72E51.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8BE9
Deuteranopia (green-blind)
#608DE2
Tritanopia (blue-blind)
#A187A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab72e5;
/* rgb */ color: rgb(171, 114, 229);
/* oklch */ color: oklch(66.0% 0.172 305.0);
Tailwind
colors: {
  custom: {
    50: '#c79cee',
    500: '#ab72e5',
    950: '#000000',
  },
}
SCSS
$custom: #ab72e5;
$custom-light: #c79cee;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72e5",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 229
  },
  "hsl": {
    "h": 269.739,
    "s": 68.862,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65951,
    "c": 0.17197,
    "h": 305
  },
  "luminance": 0.2635
}

Semantic roles & 50–950 ramp

primary
#AB72E5
secondary
#DAECC7
accent
#D11574
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB72E5

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

Preview Lab → · Contrast checker → · Palette generator →

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