#C87FCC#C87FCC

#C87FCC is a light, vivid purple. Relative luminance 0.318; OKLCH L 69.9% C 0.135 H 325.1°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#C87FCC
RGBrgb(200, 127, 204)
HSLhsl(297, 43%, 65%)
HSVhsv(297, 38%, 80%)
CMYKcmyk(2%, 37.7%, 0%, 20%)
CIE-LABlab(63.19, 40.41, -28.36)
CIE-LCHlch(63.19, 49.37, 324.94°)
OKLaboklab(69.9% 0.1108 -0.0774)
OKLCHoklch(69.9% 0.135 325.1)
XYZxyz(42.3068, 31.8194, 61.0283)
Luminance0.3182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FCC #83CC7F
analogous
#A17FCC #C87FCC #CC7FAA
triadic
#C87FCC #CCC87F #7FCCC8
tetradic
#C87FCC #CCA17F #83CC7F #7FAACC
square
#C87FCC #CCA17F #83CC7F #7FAACC
split-complementary
#C87FCC #AACC7F #7FCCA1
monochromatic
#913B95 #B553BB #C87FCC #DBABDD #EED7EF

Accessibility & contrast

On white

2.85
#C87FCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#C87FCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FCC
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FCC#FFFFFF#000000##000000
##C87FCC1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CF
Deuteranopia (green-blind)
#8B9CC9
Tritanopia (blue-blind)
#CC879C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c87fcc;
/* rgb */ color: rgb(200, 127, 204);
/* oklch */ color: oklch(69.9% 0.135 325.1);
Tailwind
colors: {
  custom: {
    50: '#daa5db',
    500: '#c87fcc',
    950: '#000000',
  },
}
SCSS
$custom: #c87fcc;
$custom-light: #daa5db;
$custom-dark: #000000;
JSON
{
  "hex": "#c87fcc",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 296.883,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69899,
    "c": 0.13515,
    "h": 325.1
  },
  "luminance": 0.31818
}

Semantic roles & 50–950 ramp

primary
#C87FCC
secondary
#C8E1C6
accent
#B62F36
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #C87FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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