#A587FE#A587FE

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

Color values

HEX#A587FE
RGBrgb(165, 135, 254)
HSLhsl(255, 98%, 76%)
HSVhsv(255, 47%, 100%)
CMYKcmyk(35%, 46.9%, 0%, 0.4%)
CIE-LABlab(63.74, 37.33, -55.49)
CIE-LCHlch(63.74, 66.88, 303.93°)
OKLaboklab(70.25% 0.0668 -0.1565)
OKLCHoklch(70.25% 0.17 293.1)
XYZxyz(42.0658, 32.4821, 97.8001)
Luminance0.3248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A587FE #E0FE87
analogous
#87A5FE #A587FE #E187FE
triadic
#A587FE #FEA587 #87FEA5
tetradic
#A587FE #FE87A5 #E0FE87 #87FEE1
square
#A587FE #FE87A5 #E0FE87 #87FEE1
split-complementary
#A587FE #FEE187 #A5FE87
monochromatic
#4A0EFD #774AFD #A587FE #D3C4FF #E8E1FF

Accessibility & contrast

On white

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

On black

7.50
#A587FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A587FE
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A587FE#FFFFFF#000000##000000
##A587FE1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#8F9EB6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a587fe;
/* rgb */ color: rgb(165, 135, 254);
/* oklch */ color: oklch(70.3% 0.170 293.1);
Tailwind
colors: {
  custom: {
    50: '#c3aaff',
    500: '#a587fe',
    950: '#000000',
  },
}
SCSS
$custom: #a587fe;
$custom-light: #c3aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#a587fe",
  "rgb": {
    "r": 165,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 255.126,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.70252,
    "c": 0.1702,
    "h": 293.1
  },
  "luminance": 0.32483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A587FE

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

Preview Lab → · Contrast checker → · Palette generator →

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