#CA87BB#CA87BB

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

Color values

HEX#CA87BB
RGBrgb(202, 135, 187)
HSLhsl(313, 39%, 66%)
HSVhsv(313, 33%, 79%)
CMYKcmyk(0%, 33.2%, 7.4%, 20.8%)
CIE-LABlab(64.54, 33.64, -16.71)
CIE-LCHlch(64.54, 37.56, 333.58°)
OKLaboklab(70.76% 0.0964 -0.0448)
OKLCHoklch(70.76% 0.106 335.1)
XYZxyz(41.9904, 33.4743, 51.2534)
Luminance0.3347 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA87BB #87CA96
analogous
#B787CA #CA87BB #CA8799
triadic
#CA87BB #BBCA87 #87BBCA
tetradic
#CA87BB #CAB787 #87CA96 #8799CA
square
#CA87BB #CAB787 #87CA96 #8799CA
split-complementary
#CA87BB #99CA87 #87CAB7
monochromatic
#954282 #B75DA3 #CA87BB #DDB1D3 #EFDCEB

Accessibility & contrast

On white

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

On black

7.69
#CA87BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA87BB
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA87BB#FFFFFF#000000##000000
##CA87BB1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8797BD
Deuteranopia (green-blind)
#98A0B9
Tritanopia (blue-blind)
#D08A9A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca87bb;
/* rgb */ color: rgb(202, 135, 187);
/* oklch */ color: oklch(70.8% 0.106 335.1);
Tailwind
colors: {
  custom: {
    50: '#dbabcf',
    500: '#ca87bb',
    950: '#000000',
  },
}
SCSS
$custom: #ca87bb;
$custom-light: #dbabcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca87bb",
  "rgb": {
    "r": 202,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 313.433,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70762,
    "c": 0.1063,
    "h": 335.1
  },
  "luminance": 0.33472
}

Semantic roles & 50–950 ramp

primary
#CA87BB
secondary
#CBE1D0
accent
#B25034
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151013
muted
#837F82

Preview Lab

Preview with #CA87BB

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

Preview Lab → · Contrast checker → · Palette generator →

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