#A587EB#A587EB

#A587EB is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.2% C 0.145 H 296.2°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#A587EB
RGBrgb(165, 135, 235)
HSLhsl(258, 71%, 73%)
HSVhsv(258, 43%, 92%)
CMYKcmyk(29.8%, 42.6%, 0%, 7.8%)
CIE-LABlab(62.78, 32.52, -46.55)
CIE-LCHlch(62.78, 56.78, 304.94°)
OKLaboklab(69.22% 0.0642 -0.1304)
OKLCHoklch(69.22% 0.145 296.2)
XYZxyz(39.1728, 31.3249, 82.5637)
Luminance0.3132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A587EB #CDEB87
analogous
#879BEB #A587EB #D787EB
triadic
#A587EB #EBA587 #87EBA5
tetradic
#A587EB #EB879B #CDEB87 #87EBD7
square
#A587EB #EB879B #CDEB87 #87EBD7
split-complementary
#A587EB #EBD787 #9BEB87
monochromatic
#5823D4 #7E53E2 #A587EB #CCBBF4 #EBE5FB

Accessibility & contrast

On white

2.89
#A587EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#A587EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A587EB
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A587EB#FFFFFF#000000##000000
##A587EB1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EF
Deuteranopia (green-blind)
#6E97E8
Tritanopia (blue-blind)
#9699AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a587eb;
/* rgb */ color: rgb(165, 135, 235);
/* oklch */ color: oklch(69.2% 0.145 296.2);
Tailwind
colors: {
  custom: {
    50: '#c2aaf2',
    500: '#a587eb',
    950: '#000000',
  },
}
SCSS
$custom: #a587eb;
$custom-light: #c2aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a587eb",
  "rgb": {
    "r": 165,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 258,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69219,
    "c": 0.14541,
    "h": 296.2
  },
  "luminance": 0.31325
}

Semantic roles & 50–950 ramp

primary
#A587EB
secondary
#EBF2D9
accent
#D31299
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A587EB

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

Preview Lab → · Contrast checker → · Palette generator →

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