#C87CEF#C87CEF

#C87CEF is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.1% C 0.177 H 313.2°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#C87CEF
RGBrgb(200, 124, 239)
HSLhsl(280, 78%, 71%)
HSVhsv(280, 48%, 94%)
CMYKcmyk(16.3%, 48.1%, 0%, 6.3%)
CIE-LABlab(64.10, 49.01, -46.44)
CIE-LCHlch(64.10, 67.52, 316.54°)
OKLaboklab(71.08% 0.1213 -0.1293)
OKLCHoklch(71.08% 0.177 313.2)
XYZxyz(46.6044, 32.9277, 85.5453)
Luminance0.3293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87CEF #A3EF7C
analogous
#8E7CEF #C87CEF #EF7CDC
triadic
#C87CEF #EFC87C #7CEFC8
tetradic
#C87CEF #EF8E7C #A3EF7C #7CDCEF
square
#C87CEF #EF8E7C #A3EF7C #7CDCEF
split-complementary
#C87CEF #DCEF7C #7CEF8E
monochromatic
#971AD6 #B145E8 #C87CEF #DFB3F6 #F4E4FC

Accessibility & contrast

On white

2.77
#C87CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#C87CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87CEF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87CEF#FFFFFF#000000##000000
##C87CEF1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#789DEC
Tritanopia (blue-blind)
#C58EAA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c87cef;
/* rgb */ color: rgb(200, 124, 239);
/* oklch */ color: oklch(71.1% 0.177 313.2);
Tailwind
colors: {
  custom: {
    50: '#dba4f5',
    500: '#c87cef',
    950: '#000000',
  },
}
SCSS
$custom: #c87cef;
$custom-light: #dba4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c87cef",
  "rgb": {
    "r": 200,
    "g": 124,
    "b": 239
  },
  "hsl": {
    "h": 279.652,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71081,
    "c": 0.17728,
    "h": 313.2
  },
  "luminance": 0.32927
}

Semantic roles & 50–950 ramp

primary
#C87CEF
secondary
#DFF3D4
accent
#DA0B51
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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