#C887FA#C887FA

#C887FA is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.3% C 0.172 H 308.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#C887FA
RGBrgb(200, 135, 250)
HSLhsl(274, 92%, 75%)
HSVhsv(274, 46%, 98%)
CMYKcmyk(20%, 46%, 0%, 2%)
CIE-LABlab(66.91, 45.55, -48.07)
CIE-LCHlch(66.91, 66.22, 313.46°)
OKLaboklab(73.34% 0.1078 -0.134)
OKLCHoklch(73.34% 0.172 308.8)
XYZxyz(49.7354, 36.5101, 94.8510)
Luminance0.3651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C887FA #B9FA87
analogous
#8E87FA #C887FA #FA87F2
triadic
#C887FA #FAC887 #87FAC8
tetradic
#C887FA #FA8E87 #B9FA87 #87F2FA
square
#C887FA #FA8E87 #B9FA87 #87F2FA
split-complementary
#C887FA #F2FA87 #87FA8E
monochromatic
#9211F5 #AD4CF8 #C887FA #E3C2FC #F2E2FE

Accessibility & contrast

On white

2.53
#C887FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#C887FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C887FA
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C887FA#FFFFFF#000000##000000
##C887FA1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA0FE
Deuteranopia (green-blind)
#7CA4F7
Tritanopia (blue-blind)
#C19AB5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c887fa;
/* rgb */ color: rgb(200, 135, 250);
/* oklch */ color: oklch(73.3% 0.172 308.8);
Tailwind
colors: {
  custom: {
    50: '#dbabfc',
    500: '#c887fa',
    950: '#000000',
  },
}
SCSS
$custom: #c887fa;
$custom-light: #dbabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c887fa",
  "rgb": {
    "r": 200,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 273.913,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73342,
    "c": 0.17203,
    "h": 308.8
  },
  "luminance": 0.36509
}

Semantic roles & 50–950 ramp

primary
#C887FA
secondary
#E3F6D5
accent
#E60064
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C887FA

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

Preview Lab → · Contrast checker → · Palette generator →

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