#AB73ED#AB73ED

#AB73ED is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.6% C 0.180 H 303.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AB73ED
RGBrgb(171, 115, 237)
HSLhsl(268, 77%, 69%)
HSVhsv(268, 51%, 93%)
CMYKcmyk(27.8%, 51.5%, 0%, 7.1%)
CIE-LABlab(59.01, 45.71, -53.61)
CIE-LCHlch(59.01, 70.45, 310.46°)
OKLaboklab(66.56% 0.0981 -0.1509)
OKLCHoklch(66.56% 0.18 303)
XYZxyz(38.2080, 27.0339, 83.3095)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73ED #B5ED73
analogous
#7378ED #AB73ED #E873ED
triadic
#AB73ED #EDAB73 #73EDAB
tetradic
#AB73ED #ED7378 #B5ED73 #73EDE8
square
#AB73ED #ED7378 #B5ED73 #73EDE8
split-complementary
#AB73ED #EDE873 #78ED73
monochromatic
#6C1ACB #8A3DE6 #AB73ED #CCA9F4 #ECDFFB

Accessibility & contrast

On white

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

On black

6.41
#AB73ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73ED
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73ED#FFFFFF#000000##000000
##AB73ED1.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8DF1
Deuteranopia (green-blind)
#5B8EEA
Tritanopia (blue-blind)
#9F8AA5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab73ed;
/* rgb */ color: rgb(171, 115, 237);
/* oklch */ color: oklch(66.6% 0.180 303.0);
Tailwind
colors: {
  custom: {
    50: '#c79df3',
    500: '#ab73ed',
    950: '#000000',
  },
}
SCSS
$custom: #ab73ed;
$custom-light: #c79df3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73ed",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 237
  },
  "hsl": {
    "h": 267.541,
    "s": 77.215,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66562,
    "c": 0.17995,
    "h": 303
  },
  "luminance": 0.27034
}

Semantic roles & 50–950 ramp

primary
#AB73ED
secondary
#DFF0CC
accent
#D90C7B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB73ED

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

Preview Lab → · Contrast checker → · Palette generator →

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