#C87FF6#C87FF6

#C87FF6 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.9% C 0.180 H 310.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#C87FF6
RGBrgb(200, 127, 246)
HSLhsl(277, 87%, 73%)
HSVhsv(277, 48%, 96%)
CMYKcmyk(18.7%, 48.4%, 0%, 3.5%)
CIE-LABlab(65.05, 48.92, -48.80)
CIE-LCHlch(65.05, 69.10, 315.07°)
OKLaboklab(71.9% 0.1181 -0.1361)
OKLCHoklch(71.9% 0.18 310.9)
XYZxyz(48.0403, 34.1128, 91.2246)
Luminance0.3411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FF6 #ADF67F
analogous
#8C7FF6 #C87FF6 #F67FE8
triadic
#C87FF6 #F6C87F #7FF6C8
tetradic
#C87FF6 #F68C7F #ADF67F #7FE8F6
square
#C87FF6 #F68C7F #ADF67F #7FE8F6
split-complementary
#C87FF6 #E8F67F #7FF68C
monochromatic
#9610EA #AF46F2 #C87FF6 #E1B8FA #F3E2FD

Accessibility & contrast

On white

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

On black

7.82
#C87FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FF6
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FF6#FFFFFF#000000##000000
##C87FF61.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AFA
Deuteranopia (green-blind)
#779FF3
Tritanopia (blue-blind)
#C392AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c87ff6;
/* rgb */ color: rgb(200, 127, 246);
/* oklch */ color: oklch(71.9% 0.180 310.9);
Tailwind
colors: {
  custom: {
    50: '#dba6f9',
    500: '#c87ff6',
    950: '#000000',
  },
}
SCSS
$custom: #c87ff6;
$custom-light: #dba6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c87ff6",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 276.807,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71897,
    "c": 0.18023,
    "h": 310.9
  },
  "luminance": 0.34112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C87FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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