#AB73FE#AB73FE

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

Color values

HEX#AB73FE
RGBrgb(171, 115, 254)
HSLhsl(264, 99%, 72%)
HSVhsv(264, 55%, 100%)
CMYKcmyk(32.7%, 54.7%, 0%, 0.4%)
CIE-LABlab(59.96, 49.81, -61.49)
CIE-LCHlch(59.96, 79.14, 309.01°)
OKLaboklab(67.57% 0.0989 -0.174)
OKLCHoklch(67.57% 0.2 299.6)
XYZxyz(40.8104, 28.0748, 97.0156)
Luminance0.2807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73FE #C6FE73
analogous
#7380FE #AB73FE #F173FE
triadic
#AB73FE #FEAB73 #73FEAB
tetradic
#AB73FE #FE7380 #C6FE73 #73FEF1
square
#AB73FE #FE7380 #C6FE73 #73FEF1
split-complementary
#AB73FE #FEF173 #80FE73
monochromatic
#6402F5 #8736FE #AB73FE #CFB0FE #EDE1FF

Accessibility & contrast

On white

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

On black

6.61
#AB73FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73FE
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73FE#FFFFFF#000000##000000
##AB73FE1.003.176.616.61
#FFFFFF3.171.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3890FF
Deuteranopia (green-blind)
#4B8FFB
Tritanopia (blue-blind)
#9A8FAE
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ab73fe;
/* rgb */ color: rgb(171, 115, 254);
/* oklch */ color: oklch(67.6% 0.200 299.6);
Tailwind
colors: {
  custom: {
    50: '#c89dff',
    500: '#ab73fe',
    950: '#000000',
  },
}
SCSS
$custom: #ab73fe;
$custom-light: #c89dff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73fe",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 254
  },
  "hsl": {
    "h": 264.173,
    "s": 98.582,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67571,
    "c": 0.20013,
    "h": 299.6
  },
  "luminance": 0.28075
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB73FE

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

Preview Lab → · Contrast checker → · Palette generator →

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