#C87ECA#C87ECA

#C87ECA is a light, vivid purple. Relative luminance 0.315; OKLCH L 69.7% C 0.135 H 326.0°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#C87ECA
RGBrgb(200, 126, 202)
HSLhsl(298, 42%, 64%)
HSVhsv(298, 38%, 79%)
CMYKcmyk(1%, 37.6%, 0%, 20.8%)
CIE-LABlab(62.90, 40.57, -27.69)
CIE-LCHlch(62.90, 49.12, 325.69°)
OKLaboklab(69.65% 0.1118 -0.0755)
OKLCHoklch(69.65% 0.135 326)
XYZxyz(41.9400, 31.4671, 59.7302)
Luminance0.3146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87ECA #80CA7E
analogous
#A27ECA #C87ECA #CA7EA6
triadic
#C87ECA #CAC87E #7ECAC8
tetradic
#C87ECA #CAA27E #80CA7E #7EA6CA
square
#C87ECA #CAA27E #80CA7E #7EA6CA
split-complementary
#C87ECA #A6CA7E #7ECAA2
monochromatic
#8F3C92 #B653B8 #C87ECA #DAA9DC #EDD5EE

Accessibility & contrast

On white

2.88
#C87ECA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#C87ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87ECA
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87ECA#FFFFFF#000000##000000
##C87ECA1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7892CD
Deuteranopia (green-blind)
#8B9BC8
Tritanopia (blue-blind)
#CC859B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c87eca;
/* rgb */ color: rgb(200, 126, 202);
/* oklch */ color: oklch(69.7% 0.135 326.0);
Tailwind
colors: {
  custom: {
    50: '#daa5da',
    500: '#c87eca',
    950: '#000000',
  },
}
SCSS
$custom: #c87eca;
$custom-light: #daa5da;
$custom-dark: #000000;
JSON
{
  "hex": "#c87eca",
  "rgb": {
    "r": 200,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 298.421,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69652,
    "c": 0.13491,
    "h": 326
  },
  "luminance": 0.31465
}

Semantic roles & 50–950 ramp

primary
#C87ECA
secondary
#C5DFC5
accent
#B53134
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #C87ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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