#A587EC#A587EC

#A587EC is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.3% C 0.147 H 296.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#A587EC
RGBrgb(165, 135, 236)
HSLhsl(258, 73%, 73%)
HSVhsv(258, 43%, 93%)
CMYKcmyk(30.1%, 42.8%, 0%, 7.5%)
CIE-LABlab(62.83, 32.77, -47.03)
CIE-LCHlch(62.83, 57.32, 304.87°)
OKLaboklab(69.27% 0.0644 -0.1318)
OKLCHoklch(69.27% 0.147 296)
XYZxyz(39.3176, 31.3829, 83.3267)
Luminance0.3138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A587EC #CEEC87
analogous
#879BEC #A587EC #D887EC
triadic
#A587EC #ECA587 #87ECA5
tetradic
#A587EC #EC879B #CEEC87 #87ECD8
square
#A587EC #EC879B #CEEC87 #87ECD8
split-complementary
#A587EC #ECD887 #9BEC87
monochromatic
#5822D7 #7D52E4 #A587EC #CDBCF4 #EBE5FB

Accessibility & contrast

On white

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

On black

7.28
#A587EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A587EC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A587EC#FFFFFF#000000##000000
##A587EC1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F0
Deuteranopia (green-blind)
#6E97E9
Tritanopia (blue-blind)
#9699AE
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a587ec;
/* rgb */ color: rgb(165, 135, 236);
/* oklch */ color: oklch(69.3% 0.147 296.0);
Tailwind
colors: {
  custom: {
    50: '#c2aaf2',
    500: '#a587ec',
    950: '#000000',
  },
}
SCSS
$custom: #a587ec;
$custom-light: #c2aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a587ec",
  "rgb": {
    "r": 165,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 257.822,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69271,
    "c": 0.14673,
    "h": 296
  },
  "luminance": 0.31383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A587EC

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

Preview Lab → · Contrast checker → · Palette generator →

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