#AB81CA#AB81CA

#AB81CA is a light, moderate violet. Relative luminance 0.286; OKLCH L 67.1% C 0.114 H 310.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#AB81CA
RGBrgb(171, 129, 202)
HSLhsl(275, 41%, 65%)
HSVhsv(275, 36%, 79%)
CMYKcmyk(15.3%, 36.1%, 0%, 20.8%)
CIE-LABlab(60.45, 29.90, -31.73)
CIE-LCHlch(60.45, 43.60, 313.30°)
OKLaboklab(67.1% 0.0733 -0.0875)
OKLCHoklch(67.1% 0.114 310)
XYZxyz(35.3036, 28.6232, 59.5307)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB81CA #A0CA81
analogous
#8781CA #AB81CA #CA81C4
triadic
#AB81CA #CAAB81 #81CAAB
tetradic
#AB81CA #CA8781 #A0CA81 #81C4CA
square
#AB81CA #CA8781 #A0CA81 #81C4CA
split-complementary
#AB81CA #C4CA81 #81CA87
monochromatic
#6F3E93 #8E56B8 #AB81CA #C8ACDC #E4D7EE

Accessibility & contrast

On white

3.12
#AB81CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#AB81CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AB81CA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB81CA#FFFFFF#000000##000000
##AB81CA1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CD
Deuteranopia (green-blind)
#7D93C8
Tritanopia (blue-blind)
#A78B9C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ab81ca;
/* rgb */ color: rgb(171, 129, 202);
/* oklch */ color: oklch(67.1% 0.114 310.0);
Tailwind
colors: {
  custom: {
    50: '#c5a6da',
    500: '#ab81ca',
    950: '#000000',
  },
}
SCSS
$custom: #ab81ca;
$custom-light: #c5a6da;
$custom-dark: #000000;
JSON
{
  "hex": "#ab81ca",
  "rgb": {
    "r": 171,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 274.521,
    "s": 40.782,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67096,
    "c": 0.11418,
    "h": 310
  },
  "luminance": 0.28623
}

Semantic roles & 50–950 ramp

primary
#AB81CA
secondary
#D2E0C7
accent
#B43269
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F15
muted
#827F83

Preview Lab

Preview with #AB81CA

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

Preview Lab → · Contrast checker → · Palette generator →

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