#A581ED#A581ED

#A581ED is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.3% C 0.157 H 297.4°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A581ED
RGBrgb(165, 129, 237)
HSLhsl(260, 75%, 72%)
HSVhsv(260, 46%, 93%)
CMYKcmyk(30.4%, 45.6%, 0%, 7.1%)
CIE-LABlab(61.49, 36.41, -49.69)
CIE-LCHlch(61.49, 61.60, 306.23°)
OKLaboklab(68.28% 0.0725 -0.1396)
OKLCHoklch(68.28% 0.157 297.4)
XYZxyz(38.6497, 29.8138, 83.8227)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A581ED #C9ED81
analogous
#8193ED #A581ED #DB81ED
triadic
#A581ED #EDA581 #81EDA5
tetradic
#A581ED #ED8193 #C9ED81 #81EDDB
square
#A581ED #ED8193 #C9ED81 #81EDDB
split-complementary
#A581ED #EDDB81 #93ED81
monochromatic
#5B1ED5 #7F4BE5 #A581ED #CBB7F5 #ECE4FB

Accessibility & contrast

On white

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

On black

6.96
#A581ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A581ED
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A581ED#FFFFFF#000000##000000
##A581ED1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F1
Deuteranopia (green-blind)
#6693EA
Tritanopia (blue-blind)
#9695AC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a581ed;
/* rgb */ color: rgb(165, 129, 237);
/* oklch */ color: oklch(68.3% 0.157 297.4);
Tailwind
colors: {
  custom: {
    50: '#c2a6f3',
    500: '#a581ed',
    950: '#000000',
  },
}
SCSS
$custom: #a581ed;
$custom-light: #c2a6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a581ed",
  "rgb": {
    "r": 165,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 260,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68281,
    "c": 0.15731,
    "h": 297.4
  },
  "luminance": 0.29814
}

Semantic roles & 50–950 ramp

primary
#A581ED
secondary
#E9F3D7
accent
#D70E94
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A581ED

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

Preview Lab → · Contrast checker → · Palette generator →

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