#A587CB#A587CB

#A587CB is a light, moderate violet. Relative luminance 0.296; OKLCH L 67.7% C 0.103 H 304.0°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A587CB
RGBrgb(165, 135, 203)
HSLhsl(266, 40%, 66%)
HSVhsv(266, 33%, 80%)
CMYKcmyk(18.7%, 33.5%, 0%, 20.4%)
CIE-LABlab(61.34, 24.87, -30.95)
CIE-LCHlch(61.34, 39.71, 308.78°)
OKLaboklab(67.65% 0.0577 -0.0854)
OKLCHoklch(67.65% 0.103 304)
XYZxyz(34.9583, 29.6392, 60.3676)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A587CB #ADCB87
analogous
#878BCB #A587CB #C787CB
triadic
#A587CB #CBA587 #87CBA5
tetradic
#A587CB #CB878B #ADCB87 #87CBC7
square
#A587CB #CB878B #ADCB87 #87CBC7
split-complementary
#A587CB #CBC787 #8BCB87
monochromatic
#674196 #855CB8 #A587CB #C5B2DE #E5DCF0

Accessibility & contrast

On white

3.03
#A587CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#A587CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A587CB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A587CB#FFFFFF#000000##000000
##A587CB1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CE
Deuteranopia (green-blind)
#7F94C9
Tritanopia (blue-blind)
#9F91A0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a587cb;
/* rgb */ color: rgb(165, 135, 203);
/* oklch */ color: oklch(67.7% 0.103 304.0);
Tailwind
colors: {
  custom: {
    50: '#c0aadb',
    500: '#a587cb',
    950: '#000000',
  },
}
SCSS
$custom: #a587cb;
$custom-light: #c0aadb;
$custom-dark: #000000;
JSON
{
  "hex": "#a587cb",
  "rgb": {
    "r": 165,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 266.471,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.67654,
    "c": 0.10309,
    "h": 304
  },
  "luminance": 0.29639
}

Semantic roles & 50–950 ramp

primary
#A587CB
secondary
#D8E2CC
accent
#B3337A
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A587CB

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

Preview Lab → · Contrast checker → · Palette generator →

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