#A587FA#A587FA

#A587FA is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.0% C 0.165 H 293.7°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#A587FA
RGBrgb(165, 135, 250)
HSLhsl(256, 92%, 75%)
HSVhsv(256, 46%, 98%)
CMYKcmyk(34%, 46%, 0%, 2%)
CIE-LABlab(63.53, 36.31, -53.63)
CIE-LCHlch(63.53, 64.76, 304.10°)
OKLaboklab(70.03% 0.0664 -0.1511)
OKLCHoklch(70.03% 0.165 293.7)
XYZxyz(41.4319, 32.2286, 94.4618)
Luminance0.3223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A587FA #DCFA87
analogous
#87A2FA #A587FA #DE87FA
triadic
#A587FA #FAA587 #87FAA5
tetradic
#A587FA #FA87A2 #DCFA87 #87FADE
square
#A587FA #FA87A2 #DCFA87 #87FADE
split-complementary
#A587FA #FADE87 #A2FA87
monochromatic
#4D11F5 #794CF8 #A587FA #D1C2FC #E9E2FE

Accessibility & contrast

On white

2.82
#A587FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#A587FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A587FA
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A587FA#FFFFFF#000000##000000
##A587FA1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFE
Deuteranopia (green-blind)
#6598F7
Tritanopia (blue-blind)
#919DB5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a587fa;
/* rgb */ color: rgb(165, 135, 250);
/* oklch */ color: oklch(70.0% 0.165 293.7);
Tailwind
colors: {
  custom: {
    50: '#c3aafc',
    500: '#a587fa',
    950: '#000000',
  },
}
SCSS
$custom: #a587fa;
$custom-light: #c3aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#a587fa",
  "rgb": {
    "r": 165,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 255.652,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70028,
    "c": 0.16502,
    "h": 293.7
  },
  "luminance": 0.32229
}

Semantic roles & 50–950 ramp

primary
#A587FA
secondary
#EDF6D5
accent
#E600AA
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A587FA

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

Preview Lab → · Contrast checker → · Palette generator →

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