#A587EF#A587EF

#A587EF is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.4% C 0.151 H 295.5°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#A587EF
RGBrgb(165, 135, 239)
HSLhsl(257, 76%, 73%)
HSVhsv(257, 44%, 94%)
CMYKcmyk(31%, 43.5%, 0%, 6.3%)
CIE-LABlab(62.98, 33.52, -48.45)
CIE-LCHlch(62.98, 58.91, 304.68°)
OKLaboklab(69.43% 0.0649 -0.136)
OKLCHoklch(69.43% 0.151 295.5)
XYZxyz(39.7572, 31.5587, 85.6414)
Luminance0.3156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A587EF #D1EF87
analogous
#879DEF #A587EF #D987EF
triadic
#A587EF #EFA587 #87EFA5
tetradic
#A587EF #EF879D #D1EF87 #87EFD9
square
#A587EF #EF879D #D1EF87 #87EFD9
split-complementary
#A587EF #EFD987 #9DEF87
monochromatic
#551EDE #7C51E8 #A587EF #CDBDF6 #EBE4FB

Accessibility & contrast

On white

2.87
#A587EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#A587EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A587EF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A587EF#FFFFFF#000000##000000
##A587EF1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#6C97EC
Tritanopia (blue-blind)
#959AB0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a587ef;
/* rgb */ color: rgb(165, 135, 239);
/* oklch */ color: oklch(69.4% 0.151 295.5);
Tailwind
colors: {
  custom: {
    50: '#c2aaf5',
    500: '#a587ef',
    950: '#000000',
  },
}
SCSS
$custom: #a587ef;
$custom-light: #c2aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a587ef",
  "rgb": {
    "r": 165,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 257.308,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.6943,
    "c": 0.15067,
    "h": 295.5
  },
  "luminance": 0.31559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A587EF

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

Preview Lab → · Contrast checker → · Palette generator →

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