#A581EB#A581EB

#A581EB is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.2% C 0.155 H 297.8°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A581EB
RGBrgb(165, 129, 235)
HSLhsl(260, 73%, 71%)
HSVhsv(260, 45%, 92%)
CMYKcmyk(29.8%, 45.1%, 0%, 7.8%)
CIE-LABlab(61.39, 35.91, -48.74)
CIE-LCHlch(61.39, 60.54, 306.38°)
OKLaboklab(68.17% 0.0722 -0.1368)
OKLCHoklch(68.17% 0.155 297.8)
XYZxyz(38.3591, 29.6976, 82.2924)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A581EB #C7EB81
analogous
#8192EB #A581EB #DA81EB
triadic
#A581EB #EBA581 #81EBA5
tetradic
#A581EB #EB8192 #C7EB81 #81EBDA
square
#A581EB #EB8192 #C7EB81 #81EBDA
split-complementary
#A581EB #EBDA81 #92EB81
monochromatic
#5D21D1 #7F4CE3 #A581EB #CBB6F3 #ECE5FB

Accessibility & contrast

On white

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

On black

6.94
#A581EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A581EB
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A581EB#FFFFFF#000000##000000
##A581EB1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EF
Deuteranopia (green-blind)
#6893E8
Tritanopia (blue-blind)
#9694AB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a581eb;
/* rgb */ color: rgb(165, 129, 235);
/* oklch */ color: oklch(68.2% 0.155 297.8);
Tailwind
colors: {
  custom: {
    50: '#c2a6f2',
    500: '#a581eb',
    950: '#000000',
  },
}
SCSS
$custom: #a581eb;
$custom-light: #c2a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a581eb",
  "rgb": {
    "r": 165,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 260.377,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68173,
    "c": 0.15474,
    "h": 297.8
  },
  "luminance": 0.29698
}

Semantic roles & 50–950 ramp

primary
#A581EB
secondary
#E8F2D6
accent
#D51192
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A581EB

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

Preview Lab → · Contrast checker → · Palette generator →

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