#AB81FD#AB81FD

#AB81FD is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.7% C 0.178 H 297.2°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#AB81FD
RGBrgb(171, 129, 253)
HSLhsl(260, 97%, 75%)
HSVhsv(260, 49%, 99%)
CMYKcmyk(32.4%, 49%, 0%, 0.8%)
CIE-LABlab(62.89, 41.93, -56.27)
CIE-LCHlch(62.89, 70.17, 306.69°)
OKLaboklab(69.73% 0.0815 -0.1587)
OKLCHoklch(69.73% 0.178 297.2)
XYZxyz(42.3701, 31.4498, 96.7476)
Luminance0.3145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB81FD #D3FD81
analogous
#8195FD #AB81FD #E981FD
triadic
#AB81FD #FDAB81 #81FDAB
tetradic
#AB81FD #FD8195 #D3FD81 #81FDE9
square
#AB81FD #FD8195 #D3FD81 #81FDE9
split-complementary
#AB81FD #FDE981 #95FD81
monochromatic
#5B09FB #8345FC #AB81FD #D3BDFE #EBE1FF

Accessibility & contrast

On white

2.88
#AB81FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#AB81FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB81FD
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB81FD#FFFFFF#000000##000000
##AB81FD1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#5F97FA
Tritanopia (blue-blind)
#9999B3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab81fd;
/* rgb */ color: rgb(171, 129, 253);
/* oklch */ color: oklch(69.7% 0.178 297.2);
Tailwind
colors: {
  custom: {
    50: '#c7a6ff',
    500: '#ab81fd',
    950: '#000000',
  },
}
SCSS
$custom: #ab81fd;
$custom-light: #c7a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ab81fd",
  "rgb": {
    "r": 171,
    "g": 129,
    "b": 253
  },
  "hsl": {
    "h": 260.323,
    "s": 96.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.69725,
    "c": 0.17835,
    "h": 297.2
  },
  "luminance": 0.3145
}

Semantic roles & 50–950 ramp

primary
#AB81FD
secondary
#EBF7D4
accent
#E60098
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #AB81FD

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

Preview Lab → · Contrast checker → · Palette generator →

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