#CA87BA#CA87BA

#CA87BA is a light, moderate pink. Relative luminance 0.334; OKLCH L 70.7% C 0.105 H 335.7°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#CA87BA
RGBrgb(202, 135, 186)
HSLhsl(314, 39%, 66%)
HSVhsv(314, 33%, 79%)
CMYKcmyk(0%, 33.2%, 7.9%, 20.8%)
CIE-LABlab(64.51, 33.47, -16.20)
CIE-LCHlch(64.51, 37.18, 334.17°)
OKLaboklab(70.73% 0.0961 -0.0433)
OKLCHoklch(70.73% 0.105 335.7)
XYZxyz(41.8837, 33.4316, 50.6916)
Luminance0.3343 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA87BA #87CA97
analogous
#B887CA #CA87BA #CA8798
triadic
#CA87BA #BACA87 #87BACA
tetradic
#CA87BA #CAB887 #87CA97 #8798CA
square
#CA87BA #CAB887 #87CA97 #8798CA
split-complementary
#CA87BA #98CA87 #87CAB8
monochromatic
#954281 #B75DA2 #CA87BA #DDB1D2 #EFDCEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA87BA#FFFFFF#000000##000000
##CA87BA1.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)
#8896BC
Deuteranopia (green-blind)
#98A0B8
Tritanopia (blue-blind)
#D18999
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ca87ba;
/* rgb */ color: rgb(202, 135, 186);
/* oklch */ color: oklch(70.7% 0.105 335.7);
Tailwind
colors: {
  custom: {
    50: '#dbabce',
    500: '#ca87ba',
    950: '#000000',
  },
}
SCSS
$custom: #ca87ba;
$custom-light: #dbabce;
$custom-dark: #000000;
JSON
{
  "hex": "#ca87ba",
  "rgb": {
    "r": 202,
    "g": 135,
    "b": 186
  },
  "hsl": {
    "h": 314.328,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70725,
    "c": 0.10544,
    "h": 335.7
  },
  "luminance": 0.3343
}

Semantic roles & 50–950 ramp

primary
#CA87BA
secondary
#CBE1D1
accent
#B25234
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151013
muted
#837F82

Preview Lab

Preview with #CA87BA

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

Preview Lab → · Contrast checker → · Palette generator →

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