#AB73DC#AB73DC

#AB73DC is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.6% C 0.160 H 307.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AB73DC
RGBrgb(171, 115, 220)
HSLhsl(272, 60%, 66%)
HSVhsv(272, 48%, 86%)
CMYKcmyk(22.3%, 47.7%, 0%, 13.7%)
CIE-LABlab(58.12, 41.75, -45.51)
CIE-LCHlch(58.12, 61.76, 312.53°)
OKLaboklab(65.62% 0.0964 -0.1272)
OKLCHoklch(65.62% 0.16 307.2)
XYZxyz(35.8410, 26.0871, 70.8434)
Luminance0.2609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73DC #A4DC73
analogous
#7673DC #AB73DC #DC73D8
triadic
#AB73DC #DCAB73 #73DCAB
tetradic
#AB73DC #DC7673 #A4DC73 #73D8DC
square
#AB73DC #DC7673 #A4DC73 #73D8DC
split-complementary
#AB73DC #D8DC73 #73DC76
monochromatic
#6F2BAA #8E42D0 #AB73DC #C8A4E8 #E6D5F4

Accessibility & contrast

On white

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

On black

6.22
#AB73DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73DC
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73DC#FFFFFF#000000##000000
##AB73DC1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE0
Deuteranopia (green-blind)
#668CD9
Tritanopia (blue-blind)
#A4859D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab73dc;
/* rgb */ color: rgb(171, 115, 220);
/* oklch */ color: oklch(65.6% 0.160 307.2);
Tailwind
colors: {
  custom: {
    50: '#c69ce7',
    500: '#ab73dc',
    950: '#000000',
  },
}
SCSS
$custom: #ab73dc;
$custom-light: #c69ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73dc",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 272,
    "s": 60,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65616,
    "c": 0.15967,
    "h": 307.2
  },
  "luminance": 0.26087
}

Semantic roles & 50–950 ramp

primary
#AB73DC
secondary
#D4E7C4
accent
#C81E6D
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB73DC

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

Preview Lab → · Contrast checker → · Palette generator →

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