#A587DC#A587DC

#A587DC is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.5% C 0.126 H 299.3°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#A587DC
RGBrgb(165, 135, 220)
HSLhsl(261, 55%, 70%)
HSVhsv(261, 39%, 86%)
CMYKcmyk(25%, 38.6%, 0%, 13.7%)
CIE-LABlab(62.08, 28.85, -39.32)
CIE-LCHlch(62.08, 48.77, 306.27°)
OKLaboklab(68.46% 0.0615 -0.1095)
OKLCHoklch(68.46% 0.126 299.3)
XYZxyz(37.0964, 30.4944, 71.6279)
Luminance0.3049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A587DC #BEDC87
analogous
#8794DC #A587DC #CF87DC
triadic
#A587DC #DCA587 #87DCA5
tetradic
#A587DC #DC8794 #BEDC87 #87DCCF
square
#A587DC #DC8794 #BEDC87 #87DCCF
split-complementary
#A587DC #DCCF87 #94DC87
monochromatic
#6235B4 #8158CE #A587DC #C9B6EA #ECE6F8

Accessibility & contrast

On white

2.96
#A587DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#A587DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A587DC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A587DC#FFFFFF#000000##000000
##A587DC1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196DF
Deuteranopia (green-blind)
#7795DA
Tritanopia (blue-blind)
#9B95A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a587dc;
/* rgb */ color: rgb(165, 135, 220);
/* oklch */ color: oklch(68.5% 0.126 299.3);
Tailwind
colors: {
  custom: {
    50: '#c1aae7',
    500: '#a587dc',
    950: '#000000',
  },
}
SCSS
$custom: #a587dc;
$custom-light: #c1aae7;
$custom-dark: #000000;
JSON
{
  "hex": "#a587dc",
  "rgb": {
    "r": 165,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 261.176,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68457,
    "c": 0.12559,
    "h": 299.3
  },
  "luminance": 0.30495
}

Semantic roles & 50–950 ramp

primary
#A587DC
secondary
#E3ECD3
accent
#C2238A
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A587DC

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

Preview Lab → · Contrast checker → · Palette generator →

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