#C87DF4#C87DF4

#C87DF4 is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.5% C 0.181 H 311.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#C87DF4
RGBrgb(200, 125, 244)
HSLhsl(278, 84%, 72%)
HSVhsv(278, 49%, 96%)
CMYKcmyk(18%, 48.8%, 0%, 4.3%)
CIE-LABlab(64.55, 49.54, -48.50)
CIE-LCHlch(64.55, 69.33, 315.61°)
OKLaboklab(71.49% 0.1205 -0.1353)
OKLCHoklch(71.49% 0.181 311.7)
XYZxyz(47.4793, 33.4792, 89.5314)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87DF4 #A9F47D
analogous
#8D7DF4 #C87DF4 #F47DE5
triadic
#C87DF4 #F4C87D #7DF4C8
tetradic
#C87DF4 #F48D7D #A9F47D #7DE5F4
square
#C87DF4 #F48D7D #A9F47D #7DE5F4
split-complementary
#C87DF4 #E5F47D #7DF48D
monochromatic
#9613E3 #B045EF #C87DF4 #E0B5F9 #F3E3FD

Accessibility & contrast

On white

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

On black

7.70
#C87DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87DF4
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87DF4#FFFFFF#000000##000000
##C87DF41.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6199F8
Deuteranopia (green-blind)
#769EF1
Tritanopia (blue-blind)
#C390AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c87df4;
/* rgb */ color: rgb(200, 125, 244);
/* oklch */ color: oklch(71.5% 0.181 311.7);
Tailwind
colors: {
  custom: {
    50: '#dba5f8',
    500: '#c87df4',
    950: '#000000',
  },
}
SCSS
$custom: #c87df4;
$custom-light: #dba5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c87df4",
  "rgb": {
    "r": 200,
    "g": 125,
    "b": 244
  },
  "hsl": {
    "h": 277.815,
    "s": 84.397,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7149,
    "c": 0.18118,
    "h": 311.7
  },
  "luminance": 0.33478
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C87DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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