#A587EE#A587EE

#A587EE is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.4% C 0.149 H 295.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#A587EE
RGBrgb(165, 135, 238)
HSLhsl(257, 75%, 73%)
HSVhsv(257, 43%, 93%)
CMYKcmyk(30.7%, 43.3%, 0%, 6.7%)
CIE-LABlab(62.93, 33.27, -47.98)
CIE-LCHlch(62.93, 58.38, 304.74°)
OKLaboklab(69.38% 0.0647 -0.1346)
OKLCHoklch(69.38% 0.149 295.7)
XYZxyz(39.6098, 31.4998, 84.8656)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A587EE #D0EE87
analogous
#879CEE #A587EE #D887EE
triadic
#A587EE #EEA587 #87EEA5
tetradic
#A587EE #EE879C #D0EE87 #87EED8
square
#A587EE #EE879C #D0EE87 #87EED8
split-complementary
#A587EE #EED887 #9CEE87
monochromatic
#561FDC #7D51E6 #A587EE #CDBDF6 #EBE4FB

Accessibility & contrast

On white

2.88
#A587EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#A587EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A587EE
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A587EE#FFFFFF#000000##000000
##A587EE1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#6D97EB
Tritanopia (blue-blind)
#959AAF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a587ee;
/* rgb */ color: rgb(165, 135, 238);
/* oklch */ color: oklch(69.4% 0.149 295.7);
Tailwind
colors: {
  custom: {
    50: '#c2aaf4',
    500: '#a587ee',
    950: '#000000',
  },
}
SCSS
$custom: #a587ee;
$custom-light: #c2aaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a587ee",
  "rgb": {
    "r": 165,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 257.476,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69377,
    "c": 0.14936,
    "h": 295.7
  },
  "luminance": 0.315
}

Semantic roles & 50–950 ramp

primary
#A587EE
secondary
#EBF3D8
accent
#D70E9D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A587EE

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

Preview Lab → · Contrast checker → · Palette generator →

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