#AB73F2#AB73F2

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

Color values

HEX#AB73F2
RGBrgb(171, 115, 242)
HSLhsl(266, 83%, 70%)
HSVhsv(266, 52%, 95%)
CMYKcmyk(29.3%, 52.5%, 0%, 5.1%)
CIE-LABlab(59.28, 46.91, -55.95)
CIE-LCHlch(59.28, 73.01, 309.98°)
OKLaboklab(66.85% 0.0984 -0.1577)
OKLCHoklch(66.85% 0.186 302)
XYZxyz(38.9487, 27.3301, 87.2105)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73F2 #BAF273
analogous
#737AF2 #AB73F2 #EB73F2
triadic
#AB73F2 #F2AB73 #73F2AB
tetradic
#AB73F2 #F2737A #BAF273 #73F2EB
square
#AB73F2 #F2737A #BAF273 #73F2EB
split-complementary
#AB73F2 #F2EB73 #7AF273
monochromatic
#6A14D7 #893BED #AB73F2 #CDABF7 #EEE3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB73F2#FFFFFF#000000##000000
##AB73F21.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)
#468EF6
Deuteranopia (green-blind)
#578EEF
Tritanopia (blue-blind)
#9D8BA8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab73f2;
/* rgb */ color: rgb(171, 115, 242);
/* oklch */ color: oklch(66.9% 0.186 302.0);
Tailwind
colors: {
  custom: {
    50: '#c79df7',
    500: '#ab73f2',
    950: '#000000',
  },
}
SCSS
$custom: #ab73f2;
$custom-light: #c79df7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73f2",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 242
  },
  "hsl": {
    "h": 266.457,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.66853,
    "c": 0.1859,
    "h": 302
  },
  "luminance": 0.2733
}

Semantic roles & 50–950 ramp

primary
#AB73F2
secondary
#E2F2CF
accent
#DF0680
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB73F2

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

Preview Lab → · Contrast checker → · Palette generator →

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