#AB73FC#AB73FC

#AB73FC is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.5% C 0.198 H 300.0°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#AB73FC
RGBrgb(171, 115, 252)
HSLhsl(265, 96%, 72%)
HSVhsv(265, 54%, 99%)
CMYKcmyk(32.1%, 54.4%, 0%, 1.2%)
CIE-LABlab(59.84, 49.32, -60.58)
CIE-LCHlch(59.84, 78.12, 309.15°)
OKLaboklab(67.45% 0.0989 -0.1713)
OKLCHoklch(67.45% 0.198 300)
XYZxyz(40.4918, 27.9474, 95.3377)
Luminance0.2795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73FC #C4FC73
analogous
#7380FC #AB73FC #F073FC
triadic
#AB73FC #FCAB73 #73FCAB
tetradic
#AB73FC #FC7380 #C4FC73 #73FCF0
square
#AB73FC #FC7380 #C4FC73 #73FCF0
split-complementary
#AB73FC #FCF073 #80FC73
monochromatic
#6505EF #8737FB #AB73FC #CFAFFD #EDE1FE

Accessibility & contrast

On white

3.19
#AB73FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#AB73FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73FC
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73FC#FFFFFF#000000##000000
##AB73FC1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B90FF
Deuteranopia (green-blind)
#4E8FF9
Tritanopia (blue-blind)
#9A8EAD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab73fc;
/* rgb */ color: rgb(171, 115, 252);
/* oklch */ color: oklch(67.5% 0.198 300.0);
Tailwind
colors: {
  custom: {
    50: '#c89dfe',
    500: '#ab73fc',
    950: '#000000',
  },
}
SCSS
$custom: #ab73fc;
$custom-light: #c89dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73fc",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 252
  },
  "hsl": {
    "h": 264.526,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6745,
    "c": 0.19777,
    "h": 300
  },
  "luminance": 0.27948
}

Semantic roles & 50–950 ramp

primary
#AB73FC
secondary
#E9F7D4
accent
#E60088
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #AB73FC

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

Preview Lab → · Contrast checker → · Palette generator →

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