#CB87BE#CB87BE

#CB87BE is a light, moderate pink. Relative luminance 0.337; OKLCH L 71.0% C 0.110 H 333.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#CB87BE
RGBrgb(203, 135, 190)
HSLhsl(311, 40%, 66%)
HSVhsv(311, 33%, 80%)
CMYKcmyk(0%, 33.5%, 6.4%, 20.4%)
CIE-LABlab(64.76, 34.50, -18.06)
CIE-LCHlch(64.76, 38.95, 332.37°)
OKLaboklab(70.99% 0.0985 -0.0485)
OKLCHoklch(70.99% 0.11 333.8)
XYZxyz(42.5864, 33.7441, 52.9753)
Luminance0.3374 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB87BE #87CB94
analogous
#B687CB #CB87BE #CB879C
triadic
#CB87BE #BECB87 #87BECB
tetradic
#CB87BE #CBB687 #87CB94 #879CCB
square
#CB87BE #CBB687 #87CB94 #879CCB
split-complementary
#CB87BE #9CCB87 #87CBB6
monochromatic
#964186 #B85CA7 #CB87BE #DEB2D5 #F0DCEC

Accessibility & contrast

On white

2.71
#CB87BE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#CB87BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB87BE
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB87BE#FFFFFF#000000##000000
##CB87BE1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8797C0
Deuteranopia (green-blind)
#97A1BC
Tritanopia (blue-blind)
#D18A9B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb87be;
/* rgb */ color: rgb(203, 135, 190);
/* oklch */ color: oklch(71.0% 0.110 333.8);
Tailwind
colors: {
  custom: {
    50: '#dcabd1',
    500: '#cb87be',
    950: '#000000',
  },
}
SCSS
$custom: #cb87be;
$custom-light: #dcabd1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb87be",
  "rgb": {
    "r": 203,
    "g": 135,
    "b": 190
  },
  "hsl": {
    "h": 311.471,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70985,
    "c": 0.10976,
    "h": 333.8
  },
  "luminance": 0.33742
}

Semantic roles & 50–950 ramp

primary
#CB87BE
secondary
#CCE2D0
accent
#B34B33
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151014
muted
#837F82

Preview Lab

Preview with #CB87BE

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

Preview Lab → · Contrast checker → · Palette generator →

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