#AB72F2#AB72F2

#AB72F2 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.7% C 0.187 H 302.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AB72F2
RGBrgb(171, 114, 242)
HSLhsl(267, 83%, 70%)
HSVhsv(267, 53%, 95%)
CMYKcmyk(29.3%, 52.9%, 0%, 5.1%)
CIE-LABlab(59.07, 47.45, -56.28)
CIE-LCHlch(59.07, 73.61, 310.13°)
OKLaboklab(66.7% 0.0997 -0.1587)
OKLCHoklch(66.7% 0.187 302.1)
XYZxyz(38.8353, 27.1033, 87.1727)
Luminance0.2710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB72F2 #B9F272
analogous
#7279F2 #AB72F2 #EB72F2
triadic
#AB72F2 #F2AB72 #72F2AB
tetradic
#AB72F2 #F27279 #B9F272 #72F2EB
square
#AB72F2 #F27279 #B9F272 #72F2EB
split-complementary
#AB72F2 #F2EB72 #79F272
monochromatic
#6A14D6 #8A3AED #AB72F2 #CCAAF7 #EEE2FC

Accessibility & contrast

On white

3.27
#AB72F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#AB72F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB72F2
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB72F2#FFFFFF#000000##000000
##AB72F21.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#568EEF
Tritanopia (blue-blind)
#9E8AA7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab72f2;
/* rgb */ color: rgb(171, 114, 242);
/* oklch */ color: oklch(66.7% 0.187 302.1);
Tailwind
colors: {
  custom: {
    50: '#c79cf7',
    500: '#ab72f2',
    950: '#000000',
  },
}
SCSS
$custom: #ab72f2;
$custom-light: #c79cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab72f2",
  "rgb": {
    "r": 171,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 266.719,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66698,
    "c": 0.1874,
    "h": 302.1
  },
  "luminance": 0.27103
}

Semantic roles & 50–950 ramp

primary
#AB72F2
secondary
#E2F2CE
accent
#E0067F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB72F2

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

Preview Lab → · Contrast checker → · Palette generator →

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