#C87FCA#C87FCA

#C87FCA is a light, vivid purple. Relative luminance 0.317; OKLCH L 69.8% C 0.133 H 326.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#C87FCA
RGBrgb(200, 127, 202)
HSLhsl(298, 41%, 65%)
HSVhsv(298, 37%, 79%)
CMYKcmyk(1%, 37.1%, 0%, 20.8%)
CIE-LABlab(63.11, 40.04, -27.36)
CIE-LCHlch(63.11, 48.49, 325.65°)
OKLaboklab(69.81% 0.1103 -0.0745)
OKLCHoklch(69.81% 0.133 326)
XYZxyz(42.0685, 31.7241, 59.7731)
Luminance0.3172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FCA #81CA7F
analogous
#A37FCA #C87FCA #CA7FA7
triadic
#C87FCA #CAC87F #7FCAC8
tetradic
#C87FCA #CAA37F #81CA7F #7FA7CA
square
#C87FCA #CAA37F #81CA7F #7FA7CA
split-complementary
#C87FCA #A7CA7F #7FCAA3
monochromatic
#903C92 #B554B8 #C87FCA #DBAADC #EDD6EE

Accessibility & contrast

On white

2.86
#C87FCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#C87FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FCA
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FCA#FFFFFF#000000##000000
##C87FCA1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7993CD
Deuteranopia (green-blind)
#8B9CC8
Tritanopia (blue-blind)
#CC869B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c87fca;
/* rgb */ color: rgb(200, 127, 202);
/* oklch */ color: oklch(69.8% 0.133 326.0);
Tailwind
colors: {
  custom: {
    50: '#daa5da',
    500: '#c87fca',
    950: '#000000',
  },
}
SCSS
$custom: #c87fca;
$custom-light: #daa5da;
$custom-dark: #000000;
JSON
{
  "hex": "#c87fca",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 298.4,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69813,
    "c": 0.13316,
    "h": 326
  },
  "luminance": 0.31722
}

Semantic roles & 50–950 ramp

primary
#C87FCA
secondary
#C6DFC5
accent
#B43135
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #C87FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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