#AB73DB#AB73DB

#AB73DB is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.6% C 0.158 H 307.4°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AB73DB
RGBrgb(171, 115, 219)
HSLhsl(272, 59%, 65%)
HSVhsv(272, 47%, 86%)
CMYKcmyk(21.9%, 47.5%, 0%, 14.1%)
CIE-LABlab(58.07, 41.52, -45.03)
CIE-LCHlch(58.07, 61.25, 312.68°)
OKLaboklab(65.56% 0.0963 -0.1258)
OKLCHoklch(65.56% 0.158 307.4)
XYZxyz(35.7090, 26.0342, 70.1480)
Luminance0.2603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73DB #A3DB73
analogous
#7773DB #AB73DB #DB73D7
triadic
#AB73DB #DBAB73 #73DBAB
tetradic
#AB73DB #DB7773 #A3DB73 #73D7DB
square
#AB73DB #DB7773 #A3DB73 #73D7DB
split-complementary
#AB73DB #D7DB73 #73DB77
monochromatic
#6F2BA8 #8E42CE #AB73DB #C8A4E8 #E5D4F4

Accessibility & contrast

On white

3.38
#AB73DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#AB73DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73DB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73DB#FFFFFF#000000##000000
##AB73DB1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5889DF
Deuteranopia (green-blind)
#678CD8
Tritanopia (blue-blind)
#A4849D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab73db;
/* rgb */ color: rgb(171, 115, 219);
/* oklch */ color: oklch(65.6% 0.158 307.4);
Tailwind
colors: {
  custom: {
    50: '#c69ce6',
    500: '#ab73db',
    950: '#000000',
  },
}
SCSS
$custom: #ab73db;
$custom-light: #c69ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73db",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 219
  },
  "hsl": {
    "h": 272.308,
    "s": 59.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65562,
    "c": 0.15849,
    "h": 307.4
  },
  "luminance": 0.26034
}

Semantic roles & 50–950 ramp

primary
#AB73DB
secondary
#D4E6C3
accent
#C71F6C
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB73DB

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

Preview Lab → · Contrast checker → · Palette generator →

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