#C87CF7#C87CF7

#C87CF7 is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.5% C 0.186 H 311.1°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#C87CF7
RGBrgb(200, 124, 247)
HSLhsl(277, 88%, 73%)
HSVhsv(277, 50%, 97%)
CMYKcmyk(19%, 49.8%, 0%, 3.1%)
CIE-LABlab(64.49, 50.70, -50.23)
CIE-LCHlch(64.49, 71.37, 315.27°)
OKLaboklab(71.5% 0.1222 -0.1403)
OKLCHoklch(71.5% 0.186 311.1)
XYZxyz(47.8125, 33.4110, 91.9079)
Luminance0.3341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87CF7 #ABF77C
analogous
#8A7CF7 #C87CF7 #F77CE9
triadic
#C87CF7 #F7C87C #7CF7C8
tetradic
#C87CF7 #F78A7C #ABF77C #7CE9F7
square
#C87CF7 #F78A7C #ABF77C #7CE9F7
split-complementary
#C87CF7 #E9F77C #7CF78A
monochromatic
#960EEA #B042F3 #C87CF7 #E0B6FB #F3E2FD

Accessibility & contrast

On white

2.73
#C87CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#C87CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87CF7
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87CF7#FFFFFF#000000##000000
##C87CF71.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FB
Deuteranopia (green-blind)
#749EF4
Tritanopia (blue-blind)
#C390AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c87cf7;
/* rgb */ color: rgb(200, 124, 247);
/* oklch */ color: oklch(71.5% 0.186 311.1);
Tailwind
colors: {
  custom: {
    50: '#dba4fa',
    500: '#c87cf7',
    950: '#000000',
  },
}
SCSS
$custom: #c87cf7;
$custom-light: #dba4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c87cf7",
  "rgb": {
    "r": 200,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 277.073,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71498,
    "c": 0.18606,
    "h": 311.1
  },
  "luminance": 0.3341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C87CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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