#AB73FA#AB73FA

#AB73FA is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.3% C 0.195 H 300.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AB73FA
RGBrgb(171, 115, 250)
HSLhsl(265, 93%, 72%)
HSVhsv(265, 54%, 98%)
CMYKcmyk(31.6%, 54%, 0%, 2%)
CIE-LABlab(59.73, 48.84, -59.66)
CIE-LCHlch(59.73, 77.10, 309.30°)
OKLaboklab(67.33% 0.0988 -0.1686)
OKLCHoklch(67.33% 0.195 300.4)
XYZxyz(40.1766, 27.8213, 93.6773)
Luminance0.2782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73FA #C2FA73
analogous
#737FFA #AB73FA #EF73FA
triadic
#AB73FA #FAAB73 #73FAAB
tetradic
#AB73FA #FA737F #C2FA73 #73FAEF
square
#AB73FA #FA737F #C2FA73 #73FAEF
split-complementary
#AB73FA #FAEF73 #7FFA73
monochromatic
#6608EA #8838F8 #AB73FA #CEAEFC #EDE1FE

Accessibility & contrast

On white

3.20
#AB73FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#AB73FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73FA
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73FA#FFFFFF#000000##000000
##AB73FA1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8FFF
Deuteranopia (green-blind)
#508FF7
Tritanopia (blue-blind)
#9B8EAC
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab73fa;
/* rgb */ color: rgb(171, 115, 250);
/* oklch */ color: oklch(67.3% 0.195 300.4);
Tailwind
colors: {
  custom: {
    50: '#c89dfd',
    500: '#ab73fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab73fa;
$custom-light: #c89dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73fa",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 250
  },
  "hsl": {
    "h": 264.889,
    "s": 93.103,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67328,
    "c": 0.1954,
    "h": 300.4
  },
  "luminance": 0.27822
}

Semantic roles & 50–950 ramp

primary
#AB73FA
secondary
#E7F6D3
accent
#E60086
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AB73FA

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

Preview Lab → · Contrast checker → · Palette generator →

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