#AB73F5#AB73F5

#AB73F5 is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.0% C 0.189 H 301.4°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AB73F5
RGBrgb(171, 115, 245)
HSLhsl(266, 87%, 71%)
HSVhsv(266, 53%, 96%)
CMYKcmyk(30.2%, 53.1%, 0%, 3.9%)
CIE-LABlab(59.45, 47.63, -57.34)
CIE-LCHlch(59.45, 74.54, 309.71°)
OKLaboklab(67.03% 0.0986 -0.1618)
OKLCHoklch(67.03% 0.189 301.4)
XYZxyz(39.4029, 27.5118, 89.6029)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73F5 #BDF573
analogous
#737CF5 #AB73F5 #EC73F5
triadic
#AB73F5 #F5AB73 #73F5AB
tetradic
#AB73F5 #F5737C #BDF573 #73F5EC
square
#AB73F5 #F5737C #BDF573 #73F5EC
split-complementary
#AB73F5 #F5EC73 #7CF573
monochromatic
#6910DE #893AF1 #AB73F5 #CDACF9 #EEE2FD

Accessibility & contrast

On white

3.23
#AB73F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#AB73F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73F5
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73F5#FFFFFF#000000##000000
##AB73F51.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#438EF9
Deuteranopia (green-blind)
#548FF2
Tritanopia (blue-blind)
#9D8CA9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ab73f5;
/* rgb */ color: rgb(171, 115, 245);
/* oklch */ color: oklch(67.0% 0.189 301.4);
Tailwind
colors: {
  custom: {
    50: '#c79df9',
    500: '#ab73f5',
    950: '#000000',
  },
}
SCSS
$custom: #ab73f5;
$custom-light: #c79df9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73f5",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 245
  },
  "hsl": {
    "h": 265.846,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6703,
    "c": 0.18947,
    "h": 301.4
  },
  "luminance": 0.27512
}

Semantic roles & 50–950 ramp

primary
#AB73F5
secondary
#E4F4D0
accent
#E30282
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB73F5

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

Preview Lab → · Contrast checker → · Palette generator →

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