#AB73EC#AB73EC

#AB73EC is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.5% C 0.179 H 303.3°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AB73EC
RGBrgb(171, 115, 236)
HSLhsl(268, 76%, 69%)
HSVhsv(268, 51%, 93%)
CMYKcmyk(27.5%, 51.3%, 0%, 7.5%)
CIE-LABlab(58.95, 45.48, -53.14)
CIE-LCHlch(58.95, 69.94, 310.56°)
OKLaboklab(66.51% 0.098 -0.1495)
OKLCHoklch(66.51% 0.179 303.3)
XYZxyz(38.0623, 26.9756, 82.5422)
Luminance0.2698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73EC #B4EC73
analogous
#7378EC #AB73EC #E873EC
triadic
#AB73EC #ECAB73 #73ECAB
tetradic
#AB73EC #EC7378 #B4EC73 #73ECE8
square
#AB73EC #EC7378 #B4EC73 #73ECE8
split-complementary
#AB73EC #ECE873 #78EC73
monochromatic
#6C1BC9 #8B3DE5 #AB73EC #CBA9F3 #ECDFFB

Accessibility & contrast

On white

3.28
#AB73EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#AB73EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73EC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73EC#FFFFFF#000000##000000
##AB73EC1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8DF0
Deuteranopia (green-blind)
#5C8EE9
Tritanopia (blue-blind)
#9F89A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab73ec;
/* rgb */ color: rgb(171, 115, 236);
/* oklch */ color: oklch(66.5% 0.179 303.3);
Tailwind
colors: {
  custom: {
    50: '#c79df3',
    500: '#ab73ec',
    950: '#000000',
  },
}
SCSS
$custom: #ab73ec;
$custom-light: #c79df3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73ec",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 236
  },
  "hsl": {
    "h": 267.769,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66505,
    "c": 0.17876,
    "h": 303.3
  },
  "luminance": 0.26976
}

Semantic roles & 50–950 ramp

primary
#AB73EC
secondary
#DFEFCC
accent
#D80D7A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB73EC

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

Preview Lab → · Contrast checker → · Palette generator →

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