#AB73EA#AB73EA

#AB73EA is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.4% C 0.176 H 303.7°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AB73EA
RGBrgb(171, 115, 234)
HSLhsl(268, 74%, 68%)
HSVhsv(268, 51%, 92%)
CMYKcmyk(26.9%, 50.9%, 0%, 8.2%)
CIE-LABlab(58.84, 45.00, -52.19)
CIE-LCHlch(58.84, 68.92, 310.77°)
OKLaboklab(66.39% 0.0979 -0.1467)
OKLCHoklch(66.39% 0.176 303.7)
XYZxyz(37.7733, 26.8600, 81.0205)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73EA #B2EA73
analogous
#7376EA #AB73EA #E673EA
triadic
#AB73EA #EAAB73 #73EAAB
tetradic
#AB73EA #EA7376 #B2EA73 #73EAE6
square
#AB73EA #EA7376 #B2EA73 #73EAE6
split-complementary
#AB73EA #EAE673 #76EA73
monochromatic
#6C1EC5 #8B3EE2 #AB73EA #CBA8F2 #EBDDFA

Accessibility & contrast

On white

3.30
#AB73EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#AB73EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73EA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73EA#FFFFFF#000000##000000
##AB73EA1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8CEE
Deuteranopia (green-blind)
#5D8DE7
Tritanopia (blue-blind)
#A089A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab73ea;
/* rgb */ color: rgb(171, 115, 234);
/* oklch */ color: oklch(66.4% 0.176 303.7);
Tailwind
colors: {
  custom: {
    50: '#c79df1',
    500: '#ab73ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab73ea;
$custom-light: #c79df1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73ea",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 234
  },
  "hsl": {
    "h": 268.235,
    "s": 73.913,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66391,
    "c": 0.17638,
    "h": 303.7
  },
  "luminance": 0.2686
}

Semantic roles & 50–950 ramp

primary
#AB73EA
secondary
#DDEECA
accent
#D60F79
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB73EA

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

Preview Lab → · Contrast checker → · Palette generator →

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