#C87FEF#C87FEF

#C87FEF is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.5% C 0.172 H 312.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#C87FEF
RGBrgb(200, 127, 239)
HSLhsl(279, 78%, 72%)
HSVhsv(279, 47%, 94%)
CMYKcmyk(16.3%, 46.9%, 0%, 6.3%)
CIE-LABlab(64.72, 47.43, -45.47)
CIE-LCHlch(64.72, 65.71, 316.21°)
OKLaboklab(71.54% 0.1172 -0.1265)
OKLCHoklch(71.54% 0.172 312.8)
XYZxyz(46.9861, 33.6911, 85.6725)
Luminance0.3369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FEF #A6EF7F
analogous
#907FEF #C87FEF #EF7FDE
triadic
#C87FEF #EFC87F #7FEFC8
tetradic
#C87FEF #EF907F #A6EF7F #7FDEEF
square
#C87FEF #EF907F #A6EF7F #7FDEEF
split-complementary
#C87FEF #DEEF7F #7FEF90
monochromatic
#971BD9 #B149E8 #C87FEF #DFB5F6 #F3E4FC

Accessibility & contrast

On white

2.71
#C87FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#C87FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FEF
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FEF#FFFFFF#000000##000000
##C87FEF1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#7B9FEC
Tritanopia (blue-blind)
#C490AC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c87fef;
/* rgb */ color: rgb(200, 127, 239);
/* oklch */ color: oklch(71.5% 0.172 312.8);
Tailwind
colors: {
  custom: {
    50: '#dba6f4',
    500: '#c87fef',
    950: '#000000',
  },
}
SCSS
$custom: #c87fef;
$custom-light: #dba6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c87fef",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 279.107,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71538,
    "c": 0.17246,
    "h": 312.8
  },
  "luminance": 0.3369
}

Semantic roles & 50–950 ramp

primary
#C87FEF
secondary
#E1F3D7
accent
#DA0B53
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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