#A587DB#A587DB

#A587DB is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.4% C 0.124 H 299.6°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A587DB
RGBrgb(165, 135, 219)
HSLhsl(261, 54%, 69%)
HSVhsv(261, 38%, 86%)
CMYKcmyk(24.7%, 38.4%, 0%, 14.1%)
CIE-LABlab(62.03, 28.61, -38.84)
CIE-LCHlch(62.03, 48.24, 306.38°)
OKLaboklab(68.41% 0.0613 -0.1081)
OKLCHoklch(68.41% 0.124 299.6)
XYZxyz(36.9643, 30.4416, 70.9325)
Luminance0.3044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A587DB #BDDB87
analogous
#8793DB #A587DB #CF87DB
triadic
#A587DB #DBA587 #87DBA5
tetradic
#A587DB #DB8793 #BDDB87 #87DBCF
square
#A587DB #DB8793 #BDDB87 #87DBCF
split-complementary
#A587DB #DBCF87 #93DB87
monochromatic
#6235B2 #8258CD #A587DB #C8B6E9 #ECE5F7

Accessibility & contrast

On white

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

On black

7.09
#A587DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A587DB
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A587DB#FFFFFF#000000##000000
##A587DB1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DE
Deuteranopia (green-blind)
#7795D9
Tritanopia (blue-blind)
#9B95A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a587db;
/* rgb */ color: rgb(165, 135, 219);
/* oklch */ color: oklch(68.4% 0.124 299.6);
Tailwind
colors: {
  custom: {
    50: '#c1aae6',
    500: '#a587db',
    950: '#000000',
  },
}
SCSS
$custom: #a587db;
$custom-light: #c1aae6;
$custom-dark: #000000;
JSON
{
  "hex": "#a587db",
  "rgb": {
    "r": 165,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 261.429,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68408,
    "c": 0.12428,
    "h": 299.6
  },
  "luminance": 0.30442
}

Semantic roles & 50–950 ramp

primary
#A587DB
secondary
#E2EBD3
accent
#C12489
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A587DB

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

Preview Lab → · Contrast checker → · Palette generator →

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