#C87DF7#C87DF7

#C87DF7 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.6% C 0.184 H 310.9°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#C87DF7
RGBrgb(200, 125, 247)
HSLhsl(277, 88%, 73%)
HSVhsv(277, 49%, 97%)
CMYKcmyk(19%, 49.4%, 0%, 3.1%)
CIE-LABlab(64.69, 50.18, -49.92)
CIE-LCHlch(64.69, 70.78, 315.15°)
OKLaboklab(71.65% 0.1209 -0.1394)
OKLCHoklch(71.65% 0.184 310.9)
XYZxyz(47.9385, 33.6629, 91.9499)
Luminance0.3366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87DF7 #ACF77D
analogous
#8B7DF7 #C87DF7 #F77DE9
triadic
#C87DF7 #F7C87D #7DF7C8
tetradic
#C87DF7 #F78B7D #ACF77D #7DE9F7
square
#C87DF7 #F78B7D #ACF77D #7DE9F7
split-complementary
#C87DF7 #E9F77D #7DF78B
monochromatic
#960EEB #B043F3 #C87DF7 #E0B7FB #F3E2FD

Accessibility & contrast

On white

2.72
#C87DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#C87DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87DF7
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87DF7#FFFFFF#000000##000000
##C87DF71.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FB
Deuteranopia (green-blind)
#759EF4
Tritanopia (blue-blind)
#C391AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c87df7;
/* rgb */ color: rgb(200, 125, 247);
/* oklch */ color: oklch(71.6% 0.184 310.9);
Tailwind
colors: {
  custom: {
    50: '#dba5fa',
    500: '#c87df7',
    950: '#000000',
  },
}
SCSS
$custom: #c87df7;
$custom-light: #dba5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c87df7",
  "rgb": {
    "r": 200,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 276.885,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71647,
    "c": 0.18449,
    "h": 310.9
  },
  "luminance": 0.33662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C87DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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