#AB73EF#AB73EF

#AB73EF is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.7% C 0.182 H 302.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AB73EF
RGBrgb(171, 115, 239)
HSLhsl(267, 79%, 69%)
HSVhsv(267, 52%, 94%)
CMYKcmyk(28.5%, 51.9%, 0%, 6.3%)
CIE-LABlab(59.11, 46.19, -54.54)
CIE-LCHlch(59.11, 71.47, 310.26°)
OKLaboklab(66.68% 0.0982 -0.1536)
OKLCHoklch(66.68% 0.182 302.6)
XYZxyz(38.5018, 27.1514, 84.8570)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB73EF #B7EF73
analogous
#7379EF #AB73EF #E973EF
triadic
#AB73EF #EFAB73 #73EFAB
tetradic
#AB73EF #EF7379 #B7EF73 #73EFE9
square
#AB73EF #EF7379 #B7EF73 #73EFE9
split-complementary
#AB73EF #EFE973 #79EF73
monochromatic
#6B18D0 #8A3CE9 #AB73EF #CCAAF5 #EDE1FC

Accessibility & contrast

On white

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

On black

6.43
#AB73EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB73EF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB73EF#FFFFFF#000000##000000
##AB73EF1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF3
Deuteranopia (green-blind)
#598EEC
Tritanopia (blue-blind)
#9E8AA6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ab73ef;
/* rgb */ color: rgb(171, 115, 239);
/* oklch */ color: oklch(66.7% 0.182 302.6);
Tailwind
colors: {
  custom: {
    50: '#c79df5',
    500: '#ab73ef',
    950: '#000000',
  },
}
SCSS
$custom: #ab73ef;
$custom-light: #c79df5;
$custom-dark: #000000;
JSON
{
  "hex": "#ab73ef",
  "rgb": {
    "r": 171,
    "g": 115,
    "b": 239
  },
  "hsl": {
    "h": 267.097,
    "s": 79.487,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66678,
    "c": 0.18234,
    "h": 302.6
  },
  "luminance": 0.27151
}

Semantic roles & 50–950 ramp

primary
#AB73EF
secondary
#E1F1CD
accent
#DC0A7D
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85

Preview Lab

Preview with #AB73EF

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

Preview Lab → · Contrast checker → · Palette generator →

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