#CA87BF#CA87BF

#CA87BF is a light, moderate purple. Relative luminance 0.336; OKLCH L 70.9% C 0.110 H 332.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#CA87BF
RGBrgb(202, 135, 191)
HSLhsl(310, 39%, 66%)
HSVhsv(310, 33%, 79%)
CMYKcmyk(0%, 33.2%, 5.4%, 20.8%)
CIE-LABlab(64.68, 34.35, -18.75)
CIE-LCHlch(64.68, 39.13, 331.37°)
OKLaboklab(70.91% 0.0976 -0.0504)
OKLCHoklch(70.91% 0.11 332.7)
XYZxyz(42.4246, 33.6479, 53.5401)
Luminance0.3365 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA87BF #87CA92
analogous
#B387CA #CA87BF #CA879D
triadic
#CA87BF #BFCA87 #87BFCA
tetradic
#CA87BF #CAB387 #87CA92 #879DCA
square
#CA87BF #CAB387 #87CA92 #879DCA
split-complementary
#CA87BF #9DCA87 #87CAB3
monochromatic
#954287 #B75DA8 #CA87BF #DDB1D6 #EFDCEC

Accessibility & contrast

On white

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

On black

7.73
#CA87BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA87BF
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA87BF#FFFFFF#000000##000000
##CA87BF1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8697C1
Deuteranopia (green-blind)
#96A0BD
Tritanopia (blue-blind)
#D08A9B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ca87bf;
/* rgb */ color: rgb(202, 135, 191);
/* oklch */ color: oklch(70.9% 0.110 332.7);
Tailwind
colors: {
  custom: {
    50: '#dbabd2',
    500: '#ca87bf',
    950: '#000000',
  },
}
SCSS
$custom: #ca87bf;
$custom-light: #dbabd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca87bf",
  "rgb": {
    "r": 202,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 309.851,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70914,
    "c": 0.10986,
    "h": 332.7
  },
  "luminance": 0.33646
}

Semantic roles & 50–950 ramp

primary
#CA87BF
secondary
#CBE1CF
accent
#B24834
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#151014
muted
#837F82

Preview Lab

Preview with #CA87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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