#AB81EA#AB81EA

#AB81EA is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.7% C 0.154 H 300.9°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#AB81EA
RGBrgb(171, 129, 234)
HSLhsl(264, 71%, 71%)
HSVhsv(264, 45%, 92%)
CMYKcmyk(26.9%, 44.9%, 0%, 8.2%)
CIE-LABlab(61.91, 37.28, -47.33)
CIE-LCHlch(61.91, 60.25, 308.23°)
OKLaboklab(68.68% 0.0793 -0.1326)
OKLCHoklch(68.68% 0.154 300.9)
XYZxyz(39.4928, 30.2988, 81.5936)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB81EA #C0EA81
analogous
#818BEA #AB81EA #DF81EA
triadic
#AB81EA #EAAB81 #81EAAB
tetradic
#AB81EA #EA818B #C0EA81 #81EADF
square
#AB81EA #EA818B #C0EA81 #81EADF
split-complementary
#AB81EA #EADF81 #8BEA81
monochromatic
#6722CE #884DE1 #AB81EA #CEB5F3 #EEE5FB

Accessibility & contrast

On white

2.97
#AB81EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#AB81EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB81EA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB81EA#FFFFFF#000000##000000
##AB81EA1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395EE
Deuteranopia (green-blind)
#6C95E7
Tritanopia (blue-blind)
#9F93AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab81ea;
/* rgb */ color: rgb(171, 129, 234);
/* oklch */ color: oklch(68.7% 0.154 300.9);
Tailwind
colors: {
  custom: {
    50: '#c6a6f1',
    500: '#ab81ea',
    950: '#000000',
  },
}
SCSS
$custom: #ab81ea;
$custom-light: #c6a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab81ea",
  "rgb": {
    "r": 171,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 264,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6868,
    "c": 0.15447,
    "h": 300.9
  },
  "luminance": 0.30299
}

Semantic roles & 50–950 ramp

primary
#AB81EA
secondary
#E6F1D6
accent
#D31286
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB81EA

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

Preview Lab → · Contrast checker → · Palette generator →

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