#AB73CB#AB73CB

#AB73CB is a light, vivid violet. Relative luminance 0.252; OKLCH L 64.7% C 0.140 H 312.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AB73CB
RGBrgb(171, 115, 203)
HSLhsl(278, 46%, 62%)
HSVhsv(278, 43%, 80%)
CMYKcmyk(15.8%, 43.3%, 0%, 20.4%)
CIE-LABlab(57.30, 37.95, -37.21)
CIE-LCHlch(57.30, 53.15, 315.57°)
OKLaboklab(64.74% 0.0939 -0.1032)
OKLCHoklch(64.74% 0.14 312.3)
XYZxyz(33.7030, 25.2318, 59.5831)
Luminance0.2523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73CB #93CB73
analogous
#7F73CB #AB73CB #CB73BF
triadic
#AB73CB #CBAB73 #73CBAB
tetradic
#AB73CB #CB7F73 #93CB73 #73BFCB
square
#AB73CB #CB7F73 #93CB73 #73BFCB
split-complementary
#AB73CB #BFCB73 #73CB7F
monochromatic
#6E358F #9046BA #AB73CB #C6A0DC #E1CCEC

Accessibility & contrast

On white

3.47
#AB73CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#AB73CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73CB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73CB#FFFFFF#000000##000000
##AB73CB1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187CE
Deuteranopia (green-blind)
#708BC9
Tritanopia (blue-blind)
#A88095
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab73cb;
/* rgb */ color: rgb(171, 115, 203);
/* oklch */ color: oklch(64.7% 0.140 312.3);
Tailwind
colors: {
  custom: {
    50: '#c59cdb',
    500: '#ab73cb',
    950: '#000000',
  },
}
SCSS
$custom: #ab73cb;
$custom-light: #c59cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73cb",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 278.182,
    "s": 45.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64736,
    "c": 0.13954,
    "h": 312.3
  },
  "luminance": 0.25231
}

Semantic roles & 50–950 ramp

primary
#AB73CB
secondary
#C9DDBD
accent
#B92C60
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB73CB

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

Preview Lab → · Contrast checker → · Palette generator →

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