#AB73D2#AB73D2

#AB73D2 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.1% C 0.148 H 310.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AB73D2
RGBrgb(171, 115, 210)
HSLhsl(275, 51%, 64%)
HSVhsv(275, 45%, 82%)
CMYKcmyk(18.6%, 45.2%, 0%, 17.6%)
CIE-LABlab(57.63, 39.49, -40.65)
CIE-LCHlch(57.63, 56.68, 314.17°)
OKLaboklab(65.09% 0.0951 -0.1131)
OKLCHoklch(65.09% 0.148 310)
XYZxyz(34.5560, 25.5731, 64.0760)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73D2 #9AD273
analogous
#7B73D2 #AB73D2 #D273C9
triadic
#AB73D2 #D2AB73 #73D2AB
tetradic
#AB73D2 #D27B73 #9AD273 #73C9D2
square
#AB73D2 #D27B73 #9AD273 #73C9D2
split-complementary
#AB73D2 #C9D273 #73D27B
monochromatic
#6F3199 #8F45C3 #AB73D2 #C7A1E1 #E3D0F0

Accessibility & contrast

On white

3.43
#AB73D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#AB73D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73D2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73D2#FFFFFF#000000##000000
##AB73D21.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D88D5
Deuteranopia (green-blind)
#6C8BCF
Tritanopia (blue-blind)
#A68299
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ab73d2;
/* rgb */ color: rgb(171, 115, 210);
/* oklch */ color: oklch(65.1% 0.148 310.0);
Tailwind
colors: {
  custom: {
    50: '#c69ce0',
    500: '#ab73d2',
    950: '#000000',
  },
}
SCSS
$custom: #ab73d2;
$custom-light: #c69ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73d2",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 210
  },
  "hsl": {
    "h": 275.368,
    "s": 51.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6509,
    "c": 0.14779,
    "h": 310
  },
  "luminance": 0.25573
}

Semantic roles & 50–950 ramp

primary
#AB73D2
secondary
#CDE1C0
accent
#BF2765
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #AB73D2

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

Preview Lab → · Contrast checker → · Palette generator →

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