#AB81ED#AB81ED

#AB81ED is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.8% C 0.158 H 300.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#AB81ED
RGBrgb(171, 129, 237)
HSLhsl(263, 75%, 72%)
HSVhsv(263, 46%, 93%)
CMYKcmyk(27.8%, 45.6%, 0%, 7.1%)
CIE-LABlab(62.06, 38.00, -48.76)
CIE-LCHlch(62.06, 61.82, 307.93°)
OKLaboklab(68.84% 0.0797 -0.1367)
OKLCHoklch(68.84% 0.158 300.2)
XYZxyz(39.9274, 30.4727, 83.8826)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB81ED #C3ED81
analogous
#818DED #AB81ED #E181ED
triadic
#AB81ED #EDAB81 #81EDAB
tetradic
#AB81ED #ED818D #C3ED81 #81EDE1
square
#AB81ED #ED818D #C3ED81 #81EDE1
split-complementary
#AB81ED #EDE181 #8DED81
monochromatic
#651ED5 #874BE5 #AB81ED #CFB7F5 #EDE4FB

Accessibility & contrast

On white

2.96
#AB81ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#AB81ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB81ED
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB81ED#FFFFFF#000000##000000
##AB81ED1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F1
Deuteranopia (green-blind)
#6A95EA
Tritanopia (blue-blind)
#9E94AC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #ab81ed;
/* rgb */ color: rgb(171, 129, 237);
/* oklch */ color: oklch(68.8% 0.158 300.2);
Tailwind
colors: {
  custom: {
    50: '#c6a6f3',
    500: '#ab81ed',
    950: '#000000',
  },
}
SCSS
$custom: #ab81ed;
$custom-light: #c6a6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab81ed",
  "rgb": {
    "r": 171,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 263.333,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6884,
    "c": 0.15826,
    "h": 300.2
  },
  "luminance": 0.30473
}

Semantic roles & 50–950 ramp

primary
#AB81ED
secondary
#E8F3D7
accent
#D70E89
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB81ED

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

Preview Lab → · Contrast checker → · Palette generator →

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