#AB73DF#AB73DF

#AB73DF is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.8% C 0.163 H 306.4°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AB73DF
RGBrgb(171, 115, 223)
HSLhsl(271, 63%, 66%)
HSVhsv(271, 48%, 87%)
CMYKcmyk(23.3%, 48.4%, 0%, 12.5%)
CIE-LABlab(58.27, 42.44, -46.96)
CIE-LCHlch(58.27, 63.29, 312.11°)
OKLaboklab(65.78% 0.0968 -0.1314)
OKLCHoklch(65.78% 0.163 306.4)
XYZxyz(36.2419, 26.2474, 72.9547)
Luminance0.2625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73DF #A7DF73
analogous
#7573DF #AB73DF #DF73DD
triadic
#AB73DF #DFAB73 #73DFAB
tetradic
#AB73DF #DF7573 #A7DF73 #73DDDF
square
#AB73DF #DF7573 #A7DF73 #73DDDF
split-complementary
#AB73DF #DDDF73 #73DF75
monochromatic
#6E28AF #8D41D4 #AB73DF #C9A5EA #E7D7F6

Accessibility & contrast

On white

3.36
#AB73DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#AB73DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73DF
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73DF#FFFFFF#000000##000000
##AB73DF1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#558AE3
Deuteranopia (green-blind)
#658DDC
Tritanopia (blue-blind)
#A3869F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ab73df;
/* rgb */ color: rgb(171, 115, 223);
/* oklch */ color: oklch(65.8% 0.163 306.4);
Tailwind
colors: {
  custom: {
    50: '#c69de9',
    500: '#ab73df',
    950: '#000000',
  },
}
SCSS
$custom: #ab73df;
$custom-light: #c69de9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73df",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 223
  },
  "hsl": {
    "h": 271.111,
    "s": 62.791,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65778,
    "c": 0.16325,
    "h": 306.4
  },
  "luminance": 0.26247
}

Semantic roles & 50–950 ramp

primary
#AB73DF
secondary
#D6E9C5
accent
#CB1B6F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #AB73DF

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

Preview Lab → · Contrast checker → · Palette generator →

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