#A581EF#A581EF

#A581EF is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.4% C 0.160 H 297.1°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A581EF
RGBrgb(165, 129, 239)
HSLhsl(260, 77%, 72%)
HSVhsv(260, 46%, 94%)
CMYKcmyk(31%, 46%, 0%, 6.3%)
CIE-LABlab(61.59, 36.90, -50.64)
CIE-LCHlch(61.59, 62.66, 306.08°)
OKLaboklab(68.39% 0.0728 -0.1424)
OKLCHoklch(68.39% 0.16 297.1)
XYZxyz(38.9435, 29.9314, 85.3702)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A581EF #CBEF81
analogous
#8194EF #A581EF #DC81EF
triadic
#A581EF #EFA581 #81EFA5
tetradic
#A581EF #EF8194 #CBEF81 #81EFDC
square
#A581EF #EF8194 #CBEF81 #81EFDC
split-complementary
#A581EF #EFDC81 #94EF81
monochromatic
#5A1CDA #7E4BE8 #A581EF #CCB7F6 #ECE4FC

Accessibility & contrast

On white

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

On black

6.99
#A581EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A581EF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A581EF#FFFFFF#000000##000000
##A581EF1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F3
Deuteranopia (green-blind)
#6593EC
Tritanopia (blue-blind)
#9595AD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a581ef;
/* rgb */ color: rgb(165, 129, 239);
/* oklch */ color: oklch(68.4% 0.160 297.1);
Tailwind
colors: {
  custom: {
    50: '#c2a6f5',
    500: '#a581ef',
    950: '#000000',
  },
}
SCSS
$custom: #a581ef;
$custom-light: #c2a6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a581ef",
  "rgb": {
    "r": 165,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 259.636,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68391,
    "c": 0.15988,
    "h": 297.1
  },
  "luminance": 0.29932
}

Semantic roles & 50–950 ramp

primary
#A581EF
secondary
#EAF3D8
accent
#DA0C96
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A581EF

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

Preview Lab → · Contrast checker → · Palette generator →

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