#A581EA#A581EA

#A581EA is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.1% C 0.153 H 298.0°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A581EA
RGBrgb(165, 129, 234)
HSLhsl(261, 71%, 71%)
HSVhsv(261, 45%, 92%)
CMYKcmyk(29.5%, 44.9%, 0%, 8.2%)
CIE-LABlab(61.34, 35.66, -48.27)
CIE-LCHlch(61.34, 60.01, 306.46°)
OKLaboklab(68.12% 0.0721 -0.1354)
OKLCHoklch(68.12% 0.153 298)
XYZxyz(38.2150, 29.6400, 81.5337)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A581EA #C6EA81
analogous
#8191EA #A581EA #D981EA
triadic
#A581EA #EAA581 #81EAA5
tetradic
#A581EA #EA8191 #C6EA81 #81EAD9
square
#A581EA #EA8191 #C6EA81 #81EAD9
split-complementary
#A581EA #EAD981 #91EA81
monochromatic
#5D22CE #804DE1 #A581EA #CAB5F3 #ECE5FB

Accessibility & contrast

On white

3.03
#A581EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#A581EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A581EA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A581EA#FFFFFF#000000##000000
##A581EA1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6194EE
Deuteranopia (green-blind)
#6893E7
Tritanopia (blue-blind)
#9794AA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a581ea;
/* rgb */ color: rgb(165, 129, 234);
/* oklch */ color: oklch(68.1% 0.153 298.0);
Tailwind
colors: {
  custom: {
    50: '#c2a6f1',
    500: '#a581ea',
    950: '#000000',
  },
}
SCSS
$custom: #a581ea;
$custom-light: #c2a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a581ea",
  "rgb": {
    "r": 165,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 260.571,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68119,
    "c": 0.15344,
    "h": 298
  },
  "luminance": 0.2964
}

Semantic roles & 50–950 ramp

primary
#A581EA
secondary
#E8F1D6
accent
#D31291
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A581EA

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

Preview Lab → · Contrast checker → · Palette generator →

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