#C87FFD#C87FFD

#C87FFD is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.3% C 0.188 H 309.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#C87FFD
RGBrgb(200, 127, 253)
HSLhsl(275, 97%, 75%)
HSVhsv(275, 50%, 99%)
CMYKcmyk(20.9%, 49.8%, 0%, 0.8%)
CIE-LABlab(65.40, 50.44, -52.10)
CIE-LCHlch(65.40, 72.51, 314.07°)
OKLaboklab(72.27% 0.1188 -0.1457)
OKLCHoklch(72.27% 0.188 309.2)
XYZxyz(49.1350, 34.5507, 96.9900)
Luminance0.3455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FFD #B4FD7F
analogous
#897FFD #C87FFD #FD7FF3
triadic
#C87FFD #FDC87F #7FFDC8
tetradic
#C87FFD #FD897F #B4FD7F #7FF3FD
square
#C87FFD #FD897F #B4FD7F #7FF3FD
split-complementary
#C87FFD #F3FD7F #7FFD89
monochromatic
#9406FB #AE43FC #C87FFD #E2BBFE #F2E1FF

Accessibility & contrast

On white

2.65
#C87FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#C87FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FFD
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FFD#FFFFFF#000000##000000
##C87FFD1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#73A0FA
Tritanopia (blue-blind)
#C194B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c87ffd;
/* rgb */ color: rgb(200, 127, 253);
/* oklch */ color: oklch(72.3% 0.188 309.2);
Tailwind
colors: {
  custom: {
    50: '#dba6fe',
    500: '#c87ffd',
    950: '#000000',
  },
}
SCSS
$custom: #c87ffd;
$custom-light: #dba6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c87ffd",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 274.762,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72266,
    "c": 0.18805,
    "h": 309.2
  },
  "luminance": 0.3455
}

Semantic roles & 50–950 ramp

primary
#C87FFD
secondary
#E3F7D4
accent
#E60061
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C87FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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