#CA87BC#CA87BC

#CA87BC is a light, moderate pink. Relative luminance 0.335; OKLCH L 70.8% C 0.107 H 334.5°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#CA87BC
RGBrgb(202, 135, 188)
HSLhsl(313, 39%, 66%)
HSVhsv(313, 33%, 79%)
CMYKcmyk(0%, 33.2%, 6.9%, 20.8%)
CIE-LABlab(64.58, 33.82, -17.22)
CIE-LCHlch(64.58, 37.95, 333.01°)
OKLaboklab(70.8% 0.0967 -0.0462)
OKLCHoklch(70.8% 0.107 334.5)
XYZxyz(42.0978, 33.5172, 51.8192)
Luminance0.3352 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA87BC #87CA95
analogous
#B687CA #CA87BC #CA879A
triadic
#CA87BC #BCCA87 #87BCCA
tetradic
#CA87BC #CAB687 #87CA95 #879ACA
square
#CA87BC #CAB687 #87CA95 #879ACA
split-complementary
#CA87BC #9ACA87 #87CAB6
monochromatic
#954283 #B75DA4 #CA87BC #DDB1D4 #EFDCEB

Accessibility & contrast

On white

2.73
#CA87BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#CA87BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA87BC
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA87BC#FFFFFF#000000##000000
##CA87BC1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca87bc;
/* rgb */ color: rgb(202, 135, 188);
/* oklch */ color: oklch(70.8% 0.107 334.5);
Tailwind
colors: {
  custom: {
    50: '#dbabd0',
    500: '#ca87bc',
    950: '#000000',
  },
}
SCSS
$custom: #ca87bc;
$custom-light: #dbabd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca87bc",
  "rgb": {
    "r": 202,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 312.537,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.708,
    "c": 0.10718,
    "h": 334.5
  },
  "luminance": 0.33515
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA87BC

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

Preview Lab → · Contrast checker → · Palette generator →

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