#A587FF#A587FF

#A587FF is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.3% C 0.171 H 293.0°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#A587FF
RGBrgb(165, 135, 255)
HSLhsl(255, 100%, 76%)
HSVhsv(255, 47%, 100%)
CMYKcmyk(35.3%, 47.1%, 0%, 0%)
CIE-LABlab(63.79, 37.59, -55.95)
CIE-LCHlch(63.79, 67.41, 303.89°)
OKLaboklab(70.31% 0.0669 -0.1579)
OKLCHoklch(70.31% 0.171 293)
XYZxyz(42.2263, 32.5464, 98.6457)
Luminance0.3255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A587FF #E1FF87
analogous
#87A5FF #A587FF #E187FF
triadic
#A587FF #FFA587 #87FFA5
tetradic
#A587FF #FF87A5 #E1FF87 #87FFE1
square
#A587FF #FF87A5 #E1FF87 #87FFE1
split-complementary
#A587FF #FFE187 #A5FF87
monochromatic
#490DFF #774AFF #A587FF #D3C4FF #E8E0FF

Accessibility & contrast

On white

2.80
#A587FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#A587FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A587FF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A587FF#FFFFFF#000000##000000
##A587FF1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#6198FC
Tritanopia (blue-blind)
#8F9EB7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a587ff;
/* rgb */ color: rgb(165, 135, 255);
/* oklch */ color: oklch(70.3% 0.171 293.0);
Tailwind
colors: {
  custom: {
    50: '#c3aaff',
    500: '#a587ff',
    950: '#000000',
  },
}
SCSS
$custom: #a587ff;
$custom-light: #c3aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#a587ff",
  "rgb": {
    "r": 165,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 255,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.70309,
    "c": 0.17149,
    "h": 293
  },
  "luminance": 0.32547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A587FF

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

Preview Lab → · Contrast checker → · Palette generator →

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