#AB73FF#AB73FF

#AB73FF is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 67.6% C 0.201 H 299.4°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#AB73FF
RGBrgb(171, 115, 255)
HSLhsl(264, 100%, 73%)
HSVhsv(264, 55%, 100%)
CMYKcmyk(32.9%, 54.9%, 0%, 0%)
CIE-LABlab(60.01, 50.06, -61.95)
CIE-LCHlch(60.01, 79.65, 308.94°)
OKLaboklab(67.63% 0.099 -0.1753)
OKLCHoklch(67.63% 0.201 299.4)
XYZxyz(40.9710, 28.1390, 97.8612)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73FF #C7FF73
analogous
#7381FF #AB73FF #F173FF
triadic
#AB73FF #FFAB73 #73FFAB
tetradic
#AB73FF #FF7381 #C7FF73 #73FFF1
square
#AB73FF #FF7381 #C7FF73 #73FFF1
split-complementary
#AB73FF #FFF173 #81FF73
monochromatic
#6300F8 #8636FF #AB73FF #D0B0FF #EDE0FF

Accessibility & contrast

On white

3.17
#AB73FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#AB73FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73FF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73FF#FFFFFF#000000##000000
##AB73FF1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3790FF
Deuteranopia (green-blind)
#4A8FFC
Tritanopia (blue-blind)
#998FAE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ab73ff;
/* rgb */ color: rgb(171, 115, 255);
/* oklch */ color: oklch(67.6% 0.201 299.4);
Tailwind
colors: {
  custom: {
    50: '#c89dff',
    500: '#ab73ff',
    950: '#000000',
  },
}
SCSS
$custom: #ab73ff;
$custom-light: #c89dff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73ff",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 255
  },
  "hsl": {
    "h": 264,
    "s": 100,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67633,
    "c": 0.20131,
    "h": 299.4
  },
  "luminance": 0.28139
}

Semantic roles & 50–950 ramp

primary
#AB73FF
secondary
#E9F7D4
accent
#E6008A
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #AB73FF

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

Preview Lab → · Contrast checker → · Palette generator →

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