#A581EC#A581EC

#A581EC is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.2% C 0.156 H 297.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#A581EC
RGBrgb(165, 129, 236)
HSLhsl(260, 74%, 72%)
HSVhsv(260, 45%, 93%)
CMYKcmyk(30.1%, 45.3%, 0%, 7.5%)
CIE-LABlab(61.44, 36.16, -49.22)
CIE-LCHlch(61.44, 61.07, 306.30°)
OKLaboklab(68.23% 0.0724 -0.1382)
OKLCHoklch(68.23% 0.156 297.6)
XYZxyz(38.5040, 29.7556, 83.0555)
Luminance0.2976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A581EC #C8EC81
analogous
#8193EC #A581EC #DB81EC
triadic
#A581EC #ECA581 #81ECA5
tetradic
#A581EC #EC8193 #C8EC81 #81ECDB
square
#A581EC #EC8193 #C8EC81 #81ECDB
split-complementary
#A581EC #ECDB81 #93EC81
monochromatic
#5C20D3 #7F4CE4 #A581EC #CBB6F4 #ECE4FB

Accessibility & contrast

On white

3.02
#A581EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#A581EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A581EC
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A581EC#FFFFFF#000000##000000
##A581EC1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6095F0
Deuteranopia (green-blind)
#6793E9
Tritanopia (blue-blind)
#9695AB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a581ec;
/* rgb */ color: rgb(165, 129, 236);
/* oklch */ color: oklch(68.2% 0.156 297.6);
Tailwind
colors: {
  custom: {
    50: '#c2a6f2',
    500: '#a581ec',
    950: '#000000',
  },
}
SCSS
$custom: #a581ec;
$custom-light: #c2a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a581ec",
  "rgb": {
    "r": 165,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 260.187,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68227,
    "c": 0.15602,
    "h": 297.6
  },
  "luminance": 0.29756
}

Semantic roles & 50–950 ramp

primary
#A581EC
secondary
#E9F2D7
accent
#D61093
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A581EC

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

Preview Lab → · Contrast checker → · Palette generator →

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