#AB73EE#AB73EE

#AB73EE is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.6% C 0.181 H 302.8°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AB73EE
RGBrgb(171, 115, 238)
HSLhsl(267, 78%, 69%)
HSVhsv(267, 52%, 93%)
CMYKcmyk(28.2%, 51.7%, 0%, 6.7%)
CIE-LABlab(59.06, 45.95, -54.08)
CIE-LCHlch(59.06, 70.96, 310.36°)
OKLaboklab(66.62% 0.0982 -0.1522)
OKLCHoklch(66.62% 0.181 302.8)
XYZxyz(38.3545, 27.0925, 84.0811)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73EE #B6EE73
analogous
#7379EE #AB73EE #E973EE
triadic
#AB73EE #EEAB73 #73EEAB
tetradic
#AB73EE #EE7379 #B6EE73 #73EEE9
square
#AB73EE #EE7379 #B6EE73 #73EEE9
split-complementary
#AB73EE #EEE973 #79EE73
monochromatic
#6B19CE #8A3CE7 #AB73EE #CCAAF5 #ECE0FB

Accessibility & contrast

On white

3.27
#AB73EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#AB73EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73EE
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73EE#FFFFFF#000000##000000
##AB73EE1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF2
Deuteranopia (green-blind)
#5A8EEB
Tritanopia (blue-blind)
#9F8AA6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab73ee;
/* rgb */ color: rgb(171, 115, 238);
/* oklch */ color: oklch(66.6% 0.181 302.8);
Tailwind
colors: {
  custom: {
    50: '#c79df4',
    500: '#ab73ee',
    950: '#000000',
  },
}
SCSS
$custom: #ab73ee;
$custom-light: #c79df4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73ee",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 238
  },
  "hsl": {
    "h": 267.317,
    "s": 78.344,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6662,
    "c": 0.18114,
    "h": 302.8
  },
  "luminance": 0.27092
}

Semantic roles & 50–950 ramp

primary
#AB73EE
secondary
#E0F0CD
accent
#DB0B7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB73EE

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

Preview Lab → · Contrast checker → · Palette generator →

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