#AB81FA#AB81FA

#AB81FA is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.6% C 0.175 H 297.7°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#AB81FA
RGBrgb(171, 129, 250)
HSLhsl(261, 92%, 74%)
HSVhsv(261, 48%, 98%)
CMYKcmyk(31.6%, 48.4%, 0%, 2%)
CIE-LABlab(62.73, 41.18, -54.87)
CIE-LCHlch(62.73, 68.61, 306.89°)
OKLaboklab(69.56% 0.0812 -0.1546)
OKLCHoklch(69.56% 0.175 297.7)
XYZxyz(41.8960, 31.2601, 94.2505)
Luminance0.3126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB81FA #D0FA81
analogous
#8194FA #AB81FA #E781FA
triadic
#AB81FA #FAAB81 #81FAAB
tetradic
#AB81FA #FA8194 #D0FA81 #81FAE7
square
#AB81FA #FA8194 #D0FA81 #81FAE7
split-complementary
#AB81FA #FAE781 #94FA81
monochromatic
#5D0BF5 #8446F8 #AB81FA #D2BCFC #EBE2FE

Accessibility & contrast

On white

2.90
#AB81FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#AB81FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AB81FA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB81FA#FFFFFF#000000##000000
##AB81FA1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FE
Deuteranopia (green-blind)
#6196F7
Tritanopia (blue-blind)
#9A98B2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ab81fa;
/* rgb */ color: rgb(171, 129, 250);
/* oklch */ color: oklch(69.6% 0.175 297.7);
Tailwind
colors: {
  custom: {
    50: '#c7a6fc',
    500: '#ab81fa',
    950: '#000000',
  },
}
SCSS
$custom: #ab81fa;
$custom-light: #c7a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab81fa",
  "rgb": {
    "r": 171,
    "g": 129,
    "b": 250
  },
  "hsl": {
    "h": 260.826,
    "s": 92.366,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69555,
    "c": 0.1746,
    "h": 297.7
  },
  "luminance": 0.31261
}

Semantic roles & 50–950 ramp

primary
#AB81FA
secondary
#EBF6D5
accent
#E60096
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #AB81FA

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

Preview Lab → · Contrast checker → · Palette generator →

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