#C87EF7#C87EF7

#C87EF7 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.8% C 0.183 H 310.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#C87EF7
RGBrgb(200, 126, 247)
HSLhsl(277, 88%, 73%)
HSVhsv(277, 49%, 97%)
CMYKcmyk(19%, 49%, 0%, 3.1%)
CIE-LABlab(64.90, 49.66, -49.59)
CIE-LCHlch(64.90, 70.18, 315.04°)
OKLaboklab(71.8% 0.1195 -0.1385)
OKLCHoklch(71.8% 0.183 310.8)
XYZxyz(48.0657, 33.9174, 91.9923)
Luminance0.3392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87EF7 #ADF77E
analogous
#8B7EF7 #C87EF7 #F77EEA
triadic
#C87EF7 #F7C87E #7EF7C8
tetradic
#C87EF7 #F78B7E #ADF77E #7EEAF7
square
#C87EF7 #F78B7E #ADF77E #7EEAF7
split-complementary
#C87EF7 #EAF77E #7EF78B
monochromatic
#960FEC #AF44F3 #C87EF7 #E1B8FB #F3E2FD

Accessibility & contrast

On white

2.70
#C87EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#C87EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87EF7
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87EF7#FFFFFF#000000##000000
##C87EF71.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFB
Deuteranopia (green-blind)
#769FF4
Tritanopia (blue-blind)
#C392AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c87ef7;
/* rgb */ color: rgb(200, 126, 247);
/* oklch */ color: oklch(71.8% 0.183 310.8);
Tailwind
colors: {
  custom: {
    50: '#dba5fa',
    500: '#c87ef7',
    950: '#000000',
  },
}
SCSS
$custom: #c87ef7;
$custom-light: #dba5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c87ef7",
  "rgb": {
    "r": 200,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 276.694,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71798,
    "c": 0.18292,
    "h": 310.8
  },
  "luminance": 0.33916
}

Semantic roles & 50–950 ramp

primary
#C87EF7
secondary
#E2F5D6
accent
#E50159
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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