#A981E7#A981E7

#A981E7 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.3% C 0.150 H 300.6°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#A981E7
RGBrgb(169, 129, 231)
HSLhsl(264, 68%, 71%)
HSVhsv(264, 44%, 91%)
CMYKcmyk(26.8%, 44.2%, 0%, 9.4%)
CIE-LABlab(61.57, 36.01, -46.22)
CIE-LCHlch(61.57, 58.59, 307.93°)
OKLaboklab(68.33% 0.0765 -0.1294)
OKLCHoklch(68.33% 0.15 300.6)
XYZxyz(38.6330, 29.9049, 79.3227)
Luminance0.2990 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A981E7 #BFE781
analogous
#818CE7 #A981E7 #DC81E7
triadic
#A981E7 #E7A981 #81E7A9
tetradic
#A981E7 #E7818C #BFE781 #81E7DC
square
#A981E7 #E7818C #BFE781 #81E7DC
split-complementary
#A981E7 #E7DC81 #8CE781
monochromatic
#6526C8 #864EDD #A981E7 #CCB4F1 #EDE5FA

Accessibility & contrast

On white

3.01
#A981E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#A981E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A981E7
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A981E7#FFFFFF#000000##000000
##A981E71.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6494EB
Deuteranopia (green-blind)
#6D94E4
Tritanopia (blue-blind)
#9D93A9
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a981e7;
/* rgb */ color: rgb(169, 129, 231);
/* oklch */ color: oklch(68.3% 0.150 300.6);
Tailwind
colors: {
  custom: {
    50: '#c5a6ef',
    500: '#a981e7',
    950: '#000000',
  },
}
SCSS
$custom: #a981e7;
$custom-light: #c5a6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a981e7",
  "rgb": {
    "r": 169,
    "g": 129,
    "b": 231
  },
  "hsl": {
    "h": 263.529,
    "s": 68,
    "l": 70.588
  },
  "oklch": {
    "l": 0.68332,
    "c": 0.15028,
    "h": 300.6
  },
  "luminance": 0.29905
}

Semantic roles & 50–950 ramp

primary
#A981E7
secondary
#E5F0D4
accent
#D01687
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A981E7

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

Preview Lab → · Contrast checker → · Palette generator →

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