#C87FF8#C87FF8

#C87FF8 is a light, vivid violet. Relative luminance 0.342; OKLCH L 72.0% C 0.182 H 310.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#C87FF8
RGBrgb(200, 127, 248)
HSLhsl(276, 90%, 74%)
HSVhsv(276, 49%, 97%)
CMYKcmyk(19.4%, 48.8%, 0%, 2.7%)
CIE-LABlab(65.15, 49.35, -49.74)
CIE-LCHlch(65.15, 70.07, 314.77°)
OKLaboklab(72% 0.1183 -0.1389)
OKLCHoklch(72% 0.182 310.4)
XYZxyz(48.3490, 34.2363, 92.8500)
Luminance0.3423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FF8 #AFF87F
analogous
#8B7FF8 #C87FF8 #F87FEC
triadic
#C87FF8 #F8C87F #7FF8C8
tetradic
#C87FF8 #F88B7F #AFF87F #7FECF8
square
#C87FF8 #F88B7F #AFF87F #7FECF8
split-complementary
#C87FF8 #ECF87F #7FF88B
monochromatic
#960DF0 #AF45F5 #C87FF8 #E1B9FB #F3E2FD

Accessibility & contrast

On white

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

On black

7.85
#C87FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FF8
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FF8#FFFFFF#000000##000000
##C87FF81.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFC
Deuteranopia (green-blind)
#769FF5
Tritanopia (blue-blind)
#C293B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c87ff8;
/* rgb */ color: rgb(200, 127, 248);
/* oklch */ color: oklch(72.0% 0.182 310.4);
Tailwind
colors: {
  custom: {
    50: '#dba6fb',
    500: '#c87ff8',
    950: '#000000',
  },
}
SCSS
$custom: #c87ff8;
$custom-light: #dba6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c87ff8",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 248
  },
  "hsl": {
    "h": 276.198,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72002,
    "c": 0.18246,
    "h": 310.4
  },
  "luminance": 0.34235
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C87FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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