#AB73EB#AB73EB

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

Color values

HEX#AB73EB
RGBrgb(171, 115, 235)
HSLhsl(268, 75%, 69%)
HSVhsv(268, 51%, 92%)
CMYKcmyk(27.2%, 51.1%, 0%, 7.8%)
CIE-LABlab(58.90, 45.24, -52.66)
CIE-LCHlch(58.90, 69.43, 310.66°)
OKLaboklab(66.45% 0.098 -0.1481)
OKLCHoklch(66.45% 0.178 303.5)
XYZxyz(37.9174, 26.9176, 81.7792)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73EB #B3EB73
analogous
#7377EB #AB73EB #E773EB
triadic
#AB73EB #EBAB73 #73EBAB
tetradic
#AB73EB #EB7377 #B3EB73 #73EBE7
square
#AB73EB #EB7377 #B3EB73 #73EBE7
split-complementary
#AB73EB #EBE773 #77EB73
monochromatic
#6C1CC7 #8B3DE3 #AB73EB #CBA9F3 #EBDEFA

Accessibility & contrast

On white

3.29
#AB73EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#AB73EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73EB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73EB#FFFFFF#000000##000000
##AB73EB1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab73eb;
/* rgb */ color: rgb(171, 115, 235);
/* oklch */ color: oklch(66.4% 0.178 303.5);
Tailwind
colors: {
  custom: {
    50: '#c79df2',
    500: '#ab73eb',
    950: '#000000',
  },
}
SCSS
$custom: #ab73eb;
$custom-light: #c79df2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73eb",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 235
  },
  "hsl": {
    "h": 268,
    "s": 75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66448,
    "c": 0.17757,
    "h": 303.5
  },
  "luminance": 0.26918
}

Semantic roles & 50–950 ramp

primary
#AB73EB
secondary
#DEEFCB
accent
#D70E79
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB73EB

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

Preview Lab → · Contrast checker → · Palette generator →

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