#A587EA#A587EA

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

Color values

HEX#A587EA
RGBrgb(165, 135, 234)
HSLhsl(258, 70%, 72%)
HSVhsv(258, 42%, 92%)
CMYKcmyk(29.5%, 42.3%, 0%, 8.2%)
CIE-LABlab(62.73, 32.27, -46.07)
CIE-LCHlch(62.73, 56.25, 305.01°)
OKLaboklab(69.17% 0.0641 -0.1291)
OKLCHoklch(69.17% 0.144 296.4)
XYZxyz(39.0287, 31.2673, 81.8049)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A587EA #CCEA87
analogous
#879AEA #A587EA #D787EA
triadic
#A587EA #EAA587 #87EAA5
tetradic
#A587EA #EA879A #CCEA87 #87EAD7
square
#A587EA #EA879A #CCEA87 #87EAD7
split-complementary
#A587EA #EAD787 #9AEA87
monochromatic
#5925D2 #7E53E1 #A587EA #CCBBF3 #EBE5FA

Accessibility & contrast

On white

2.90
#A587EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#A587EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A587EA
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A587EA#FFFFFF#000000##000000
##A587EA1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98EE
Deuteranopia (green-blind)
#6F97E8
Tritanopia (blue-blind)
#9699AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a587ea;
/* rgb */ color: rgb(165, 135, 234);
/* oklch */ color: oklch(69.2% 0.144 296.4);
Tailwind
colors: {
  custom: {
    50: '#c2aaf1',
    500: '#a587ea',
    950: '#000000',
  },
}
SCSS
$custom: #a587ea;
$custom-light: #c2aaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a587ea",
  "rgb": {
    "r": 165,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 258.182,
    "s": 70.213,
    "l": 72.353
  },
  "oklch": {
    "l": 0.69166,
    "c": 0.1441,
    "h": 296.4
  },
  "luminance": 0.31268
}

Semantic roles & 50–950 ramp

primary
#A587EA
secondary
#EAF2D9
accent
#D21398
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A587EA

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

Preview Lab → · Contrast checker → · Palette generator →

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