#AB73CC#AB73CC

#AB73CC is a light, vivid violet. Relative luminance 0.253; OKLCH L 64.8% C 0.141 H 312.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AB73CC
RGBrgb(171, 115, 204)
HSLhsl(278, 47%, 63%)
HSVhsv(278, 44%, 80%)
CMYKcmyk(16.2%, 43.6%, 0%, 20%)
CIE-LABlab(57.35, 38.17, -37.70)
CIE-LCHlch(57.35, 53.65, 315.35°)
OKLaboklab(64.79% 0.0941 -0.1046)
OKLCHoklch(64.79% 0.141 312)
XYZxyz(33.8225, 25.2797, 60.2128)
Luminance0.2528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73CC #94CC73
analogous
#7F73CC #AB73CC #CC73C0
triadic
#AB73CC #CCAB73 #73CCAB
tetradic
#AB73CC #CC7F73 #94CC73 #73C0CC
square
#AB73CC #CC7F73 #94CC73 #73C0CC
split-complementary
#AB73CC #C0CC73 #73CC7F
monochromatic
#6E3490 #9046BC #AB73CC #C6A0DC #E1CDED

Accessibility & contrast

On white

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

On black

6.06
#AB73CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73CC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73CC#FFFFFF#000000##000000
##AB73CC1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187CF
Deuteranopia (green-blind)
#6F8BCA
Tritanopia (blue-blind)
#A88096
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab73cc;
/* rgb */ color: rgb(171, 115, 204);
/* oklch */ color: oklch(64.8% 0.141 312.0);
Tailwind
colors: {
  custom: {
    50: '#c59cdc',
    500: '#ab73cc',
    950: '#000000',
  },
}
SCSS
$custom: #ab73cc;
$custom-light: #c59cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73cc",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 277.753,
    "s": 46.597,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64786,
    "c": 0.14071,
    "h": 312
  },
  "luminance": 0.25279
}

Semantic roles & 50–950 ramp

primary
#AB73CC
secondary
#C9DEBD
accent
#BA2C60
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB73CC

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

Preview Lab → · Contrast checker → · Palette generator →

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