#AB73F8#AB73F8

#AB73F8 is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.2% C 0.193 H 300.8°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AB73F8
RGBrgb(171, 115, 248)
HSLhsl(265, 90%, 71%)
HSVhsv(265, 54%, 97%)
CMYKcmyk(31%, 53.6%, 0%, 2.7%)
CIE-LABlab(59.61, 48.35, -58.73)
CIE-LCHlch(59.61, 76.07, 309.46°)
OKLaboklab(67.21% 0.0987 -0.1659)
OKLCHoklch(67.21% 0.193 300.8)
XYZxyz(39.8646, 27.6965, 92.0345)
Luminance0.2770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73F8 #C0F873
analogous
#737DF8 #AB73F8 #ED73F8
triadic
#AB73F8 #F8AB73 #73F8AB
tetradic
#AB73F8 #F8737D #C0F873 #73F8ED
square
#AB73F8 #F8737D #C0F873 #73F8ED
split-complementary
#AB73F8 #F8ED73 #7DF873
monochromatic
#670BE5 #8839F5 #AB73F8 #CEADFB #EEE2FE

Accessibility & contrast

On white

3.21
#AB73F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#AB73F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73F8
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73F8#FFFFFF#000000##000000
##AB73F81.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8FFC
Deuteranopia (green-blind)
#518FF5
Tritanopia (blue-blind)
#9C8DAB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab73f8;
/* rgb */ color: rgb(171, 115, 248);
/* oklch */ color: oklch(67.2% 0.193 300.8);
Tailwind
colors: {
  custom: {
    50: '#c89dfb',
    500: '#ab73f8',
    950: '#000000',
  },
}
SCSS
$custom: #ab73f8;
$custom-light: #c89dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73f8",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 248
  },
  "hsl": {
    "h": 265.263,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67208,
    "c": 0.19302,
    "h": 300.8
  },
  "luminance": 0.27697
}

Semantic roles & 50–950 ramp

primary
#AB73F8
secondary
#E6F5D2
accent
#E60085
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB73F8

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

Preview Lab → · Contrast checker → · Palette generator →

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