#C87DFF#C87DFF

#C87DFF is a light, vivid violet. Relative luminance 0.342; OKLCH L 72.1% C 0.193 H 309.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#C87DFF
RGBrgb(200, 125, 255)
HSLhsl(275, 100%, 75%)
HSVhsv(275, 51%, 100%)
CMYKcmyk(21.6%, 51%, 0%, 0%)
CIE-LABlab(65.10, 51.91, -53.67)
CIE-LCHlch(65.10, 74.67, 314.05°)
OKLaboklab(72.08% 0.1216 -0.1503)
OKLCHoklch(72.08% 0.193 309)
XYZxyz(49.1996, 34.1673, 98.5915)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87DFF #B4FF7D
analogous
#877DFF #C87DFF #FF7DF5
triadic
#C87DFF #FFC87D #7DFFC8
tetradic
#C87DFF #FF877D #B4FF7D #7DF5FF
square
#C87DFF #FF877D #B4FF7D #7DF5FF
split-complementary
#C87DFF #F5FF7D #7DFF87
monochromatic
#9403FF #AE40FF #C87DFF #E2BAFF #F2E0FF

Accessibility & contrast

On white

2.68
#C87DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#C87DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87DFF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87DFF#FFFFFF#000000##000000
##C87DFF1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#599BFF
Deuteranopia (green-blind)
#709FFC
Tritanopia (blue-blind)
#C193B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c87dff;
/* rgb */ color: rgb(200, 125, 255);
/* oklch */ color: oklch(72.1% 0.193 309.0);
Tailwind
colors: {
  custom: {
    50: '#dba5ff',
    500: '#c87dff',
    950: '#000000',
  },
}
SCSS
$custom: #c87dff;
$custom-light: #dba5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c87dff",
  "rgb": {
    "r": 200,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 274.615,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72075,
    "c": 0.19336,
    "h": 309
  },
  "luminance": 0.34167
}

Semantic roles & 50–950 ramp

primary
#C87DFF
secondary
#E3F7D4
accent
#E60061
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C87DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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