#AB73CA#AB73CA

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

Color values

HEX#AB73CA
RGBrgb(171, 115, 202)
HSLhsl(279, 45%, 62%)
HSVhsv(279, 43%, 79%)
CMYKcmyk(15.3%, 43.1%, 0%, 20.8%)
CIE-LABlab(57.25, 37.73, -36.71)
CIE-LCHlch(57.25, 52.64, 315.78°)
OKLaboklab(64.69% 0.0938 -0.1017)
OKLCHoklch(64.69% 0.138 312.7)
XYZxyz(33.5842, 25.1843, 58.9575)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73CA #92CA73
analogous
#8073CA #AB73CA #CA73BD
triadic
#AB73CA #CAAB73 #73CAAB
tetradic
#AB73CA #CA8073 #92CA73 #73BDCA
square
#AB73CA #CA8073 #92CA73 #73BDCA
split-complementary
#AB73CA #BDCA73 #73CA80
monochromatic
#6E358D #9047B9 #AB73CA #C69FDB #E0CCEC

Accessibility & contrast

On white

3.48
#AB73CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#AB73CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73CA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73CA#FFFFFF#000000##000000
##AB73CA1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6286CD
Deuteranopia (green-blind)
#708BC8
Tritanopia (blue-blind)
#A88095
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ab73ca;
/* rgb */ color: rgb(171, 115, 202);
/* oklch */ color: oklch(64.7% 0.138 312.7);
Tailwind
colors: {
  custom: {
    50: '#c59cda',
    500: '#ab73ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab73ca;
$custom-light: #c59cda;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73ca",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 278.621,
    "s": 45.078,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64687,
    "c": 0.13836,
    "h": 312.7
  },
  "luminance": 0.25184
}

Semantic roles & 50–950 ramp

primary
#AB73CA
secondary
#C8DCBC
accent
#B82D5F
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB73CA

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

Preview Lab → · Contrast checker → · Palette generator →

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