#A587FD#A587FD

#A587FD is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.2% C 0.169 H 293.3°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#A587FD
RGBrgb(165, 135, 253)
HSLhsl(255, 97%, 76%)
HSVhsv(255, 47%, 99%)
CMYKcmyk(34.8%, 46.6%, 0%, 0.8%)
CIE-LABlab(63.69, 37.07, -55.02)
CIE-LCHlch(63.69, 66.35, 303.97°)
OKLaboklab(70.2% 0.0667 -0.1552)
OKLCHoklch(70.2% 0.169 293.3)
XYZxyz(41.9060, 32.4183, 96.9589)
Luminance0.3242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A587FD #DFFD87
analogous
#87A4FD #A587FD #E087FD
triadic
#A587FD #FDA587 #87FDA5
tetradic
#A587FD #FD87A4 #DFFD87 #87FDE0
square
#A587FD #FD87A4 #DFFD87 #87FDE0
split-complementary
#A587FD #FDE087 #A4FD87
monochromatic
#4B0FFB #784BFC #A587FD #D2C3FE #E8E1FE

Accessibility & contrast

On white

2.81
#A587FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#A587FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A587FD
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A587FD#FFFFFF#000000##000000
##A587FD1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#6298FA
Tritanopia (blue-blind)
#909EB6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a587fd;
/* rgb */ color: rgb(165, 135, 253);
/* oklch */ color: oklch(70.2% 0.169 293.3);
Tailwind
colors: {
  custom: {
    50: '#c3aafe',
    500: '#a587fd',
    950: '#000000',
  },
}
SCSS
$custom: #a587fd;
$custom-light: #c3aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#a587fd",
  "rgb": {
    "r": 165,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 255.254,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70196,
    "c": 0.16891,
    "h": 293.3
  },
  "luminance": 0.32419
}

Semantic roles & 50–950 ramp

primary
#A587FD
secondary
#EEF7D4
accent
#E600AB
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A587FD

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

Preview Lab → · Contrast checker → · Palette generator →

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