#AB72F0#AB72F0

#AB72F0 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.6% C 0.185 H 302.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AB72F0
RGBrgb(171, 114, 240)
HSLhsl(267, 81%, 69%)
HSVhsv(267, 53%, 94%)
CMYKcmyk(28.8%, 52.5%, 0%, 5.9%)
CIE-LABlab(58.96, 46.97, -55.35)
CIE-LCHlch(58.96, 72.59, 310.32°)
OKLaboklab(66.58% 0.0996 -0.1559)
OKLCHoklch(66.58% 0.185 302.6)
XYZxyz(38.5365, 26.9838, 85.5994)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72F0 #B7F072
analogous
#7278F0 #AB72F0 #EA72F0
triadic
#AB72F0 #F0AB72 #72F0AB
tetradic
#AB72F0 #F07278 #B7F072 #72F0EA
square
#AB72F0 #F07278 #B7F072 #72F0EA
split-complementary
#AB72F0 #F0EA72 #78F072
monochromatic
#6B16D1 #8A3BEA #AB72F0 #CCA9F6 #EDE1FC

Accessibility & contrast

On white

3.28
#AB72F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#AB72F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72F0
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72F0#FFFFFF#000000##000000
##AB72F01.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#468DF4
Deuteranopia (green-blind)
#578EED
Tritanopia (blue-blind)
#9E8AA6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab72f0;
/* rgb */ color: rgb(171, 114, 240);
/* oklch */ color: oklch(66.6% 0.185 302.6);
Tailwind
colors: {
  custom: {
    50: '#c79cf5',
    500: '#ab72f0',
    950: '#000000',
  },
}
SCSS
$custom: #ab72f0;
$custom-light: #c79cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72f0",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 240
  },
  "hsl": {
    "h": 267.143,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66581,
    "c": 0.18503,
    "h": 302.6
  },
  "luminance": 0.26984
}

Semantic roles & 50–950 ramp

primary
#AB72F0
secondary
#E1F1CD
accent
#DD087D
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB72F0

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

Preview Lab → · Contrast checker → · Palette generator →

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