#A581EE#A581EE

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

Color values

HEX#A581EE
RGBrgb(165, 129, 238)
HSLhsl(260, 76%, 72%)
HSVhsv(260, 46%, 93%)
CMYKcmyk(30.7%, 45.8%, 0%, 6.7%)
CIE-LABlab(61.54, 36.66, -50.16)
CIE-LCHlch(61.54, 62.13, 306.16°)
OKLaboklab(68.34% 0.0726 -0.141)
OKLCHoklch(68.34% 0.159 297.3)
XYZxyz(38.7962, 29.8724, 84.5943)
Luminance0.2987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A581EE #CAEE81
analogous
#8193EE #A581EE #DC81EE
triadic
#A581EE #EEA581 #81EEA5
tetradic
#A581EE #EE8193 #CAEE81 #81EEDC
square
#A581EE #EE8193 #CAEE81 #81EEDC
split-complementary
#A581EE #EEDC81 #93EE81
monochromatic
#5B1DD8 #7E4BE7 #A581EE #CCB7F5 #ECE4FB

Accessibility & contrast

On white

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

On black

6.97
#A581EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A581EE
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A581EE#FFFFFF#000000##000000
##A581EE1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F2
Deuteranopia (green-blind)
#6693EB
Tritanopia (blue-blind)
#9595AC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a581ee;
/* rgb */ color: rgb(165, 129, 238);
/* oklch */ color: oklch(68.3% 0.159 297.3);
Tailwind
colors: {
  custom: {
    50: '#c2a6f4',
    500: '#a581ee',
    950: '#000000',
  },
}
SCSS
$custom: #a581ee;
$custom-light: #c2a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a581ee",
  "rgb": {
    "r": 165,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 259.817,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68336,
    "c": 0.15859,
    "h": 297.3
  },
  "luminance": 0.29873
}

Semantic roles & 50–950 ramp

primary
#A581EE
secondary
#EAF3D8
accent
#D80D95
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A581EE

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

Preview Lab → · Contrast checker → · Palette generator →

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