#A987CB#A987CB

#A987CB is a light, moderate violet. Relative luminance 0.301; OKLCH L 68.0% C 0.104 H 306.7°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#A987CB
RGBrgb(169, 135, 203)
HSLhsl(270, 40%, 66%)
HSVhsv(270, 33%, 80%)
CMYKcmyk(16.7%, 33.5%, 0%, 20.4%)
CIE-LABlab(61.72, 26.11, -30.34)
CIE-LCHlch(61.72, 40.03, 310.71°)
OKLaboklab(68.03% 0.0624 -0.0836)
OKLCHoklch(68.03% 0.104 306.7)
XYZxyz(35.8036, 30.0750, 60.4072)
Luminance0.3008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A987CB #A9CB87
analogous
#8787CB #A987CB #CB87CB
triadic
#A987CB #CBA987 #87CBA9
tetradic
#A987CB #CB8787 #A9CB87 #87CBCB
square
#A987CB #CB8787 #A9CB87 #87CBCB
split-complementary
#A987CB #CBCB87 #87CB87
monochromatic
#6C4196 #8A5CB8 #A987CB #C8B2DE #E6DCF0

Accessibility & contrast

On white

2.99
#A987CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#A987CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A987CB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A987CB#FFFFFF#000000##000000
##A987CB1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CE
Deuteranopia (green-blind)
#8195C9
Tritanopia (blue-blind)
#A491A0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a987cb;
/* rgb */ color: rgb(169, 135, 203);
/* oklch */ color: oklch(68.0% 0.104 306.7);
Tailwind
colors: {
  custom: {
    50: '#c3aadb',
    500: '#a987cb',
    950: '#000000',
  },
}
SCSS
$custom: #a987cb;
$custom-light: #c3aadb;
$custom-dark: #000000;
JSON
{
  "hex": "#a987cb",
  "rgb": {
    "r": 169,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 270,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.68031,
    "c": 0.10431,
    "h": 306.7
  },
  "luminance": 0.30075
}

Semantic roles & 50–950 ramp

primary
#A987CB
secondary
#D7E2CC
accent
#B33373
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A987CB

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

Preview Lab → · Contrast checker → · Palette generator →

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