#CA87BD#CA87BD

#CA87BD is a light, moderate pink. Relative luminance 0.336; OKLCH L 70.8% C 0.108 H 333.9°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#CA87BD
RGBrgb(202, 135, 189)
HSLhsl(312, 39%, 66%)
HSVhsv(312, 33%, 79%)
CMYKcmyk(0%, 33.2%, 6.4%, 20.8%)
CIE-LABlab(64.61, 33.99, -17.73)
CIE-LCHlch(64.61, 38.34, 332.45°)
OKLaboklab(70.84% 0.097 -0.0476)
OKLCHoklch(70.84% 0.108 333.9)
XYZxyz(42.2060, 33.5605, 52.3889)
Luminance0.3356 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA87BD #87CA94
analogous
#B587CA #CA87BD #CA879B
triadic
#CA87BD #BDCA87 #87BDCA
tetradic
#CA87BD #CAB587 #87CA94 #879BCA
square
#CA87BD #CAB587 #87CA94 #879BCA
split-complementary
#CA87BD #9BCA87 #87CAB5
monochromatic
#954285 #B75DA6 #CA87BD #DDB1D4 #EFDCEC

Accessibility & contrast

On white

2.72
#CA87BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#CA87BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA87BD
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA87BD#FFFFFF#000000##000000
##CA87BD1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8797BF
Deuteranopia (green-blind)
#97A0BB
Tritanopia (blue-blind)
#D08A9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca87bd;
/* rgb */ color: rgb(202, 135, 189);
/* oklch */ color: oklch(70.8% 0.108 333.9);
Tailwind
colors: {
  custom: {
    50: '#dbabd1',
    500: '#ca87bd',
    950: '#000000',
  },
}
SCSS
$custom: #ca87bd;
$custom-light: #dbabd1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca87bd",
  "rgb": {
    "r": 202,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 311.642,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70837,
    "c": 0.10806,
    "h": 333.9
  },
  "luminance": 0.33559
}

Semantic roles & 50–950 ramp

primary
#CA87BD
secondary
#CBE1D0
accent
#B24C34
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151014
muted
#837F82

Preview Lab

Preview with #CA87BD

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

Preview Lab → · Contrast checker → · Palette generator →

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