#A582EB#A582EB

#A582EB is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.3% C 0.153 H 297.6°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A582EB
RGBrgb(165, 130, 235)
HSLhsl(260, 72%, 72%)
HSVhsv(260, 45%, 92%)
CMYKcmyk(29.8%, 44.7%, 0%, 7.8%)
CIE-LABlab(61.62, 35.35, -48.38)
CIE-LCHlch(61.62, 59.92, 306.15°)
OKLaboklab(68.35% 0.0709 -0.1358)
OKLCHoklch(68.35% 0.153 297.6)
XYZxyz(38.4915, 29.9624, 82.3366)
Luminance0.2996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A582EB #C8EB82
analogous
#8294EB #A582EB #DA82EB
triadic
#A582EB #EBA582 #82EBA5
tetradic
#A582EB #EB8294 #C8EB82 #82EBDA
square
#A582EB #EB8294 #C8EB82 #82EBDA
split-complementary
#A582EB #EBDA82 #94EB82
monochromatic
#5C21D1 #7F4DE3 #A582EB #CBB7F3 #ECE5FB

Accessibility & contrast

On white

3.00
#A582EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A582EB#FFFFFF#000000##000000
##A582EB1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#6994E8
Tritanopia (blue-blind)
#9695AB
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a582eb;
/* rgb */ color: rgb(165, 130, 235);
/* oklch */ color: oklch(68.3% 0.153 297.6);
Tailwind
colors: {
  custom: {
    50: '#c2a7f2',
    500: '#a582eb',
    950: '#000000',
  },
}
SCSS
$custom: #a582eb;
$custom-light: #c2a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a582eb",
  "rgb": {
    "r": 165,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 260,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68345,
    "c": 0.15318,
    "h": 297.6
  },
  "luminance": 0.29963
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A582EB

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

Preview Lab → · Contrast checker → · Palette generator →

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