#C87FFA#C87FFA

#C87FFA is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.1% C 0.185 H 309.9°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#C87FFA
RGBrgb(200, 127, 250)
HSLhsl(276, 92%, 74%)
HSVhsv(276, 49%, 98%)
CMYKcmyk(20%, 49.2%, 0%, 2%)
CIE-LABlab(65.25, 49.78, -50.69)
CIE-LCHlch(65.25, 71.05, 314.49°)
OKLaboklab(72.11% 0.1185 -0.1416)
OKLCHoklch(72.11% 0.185 309.9)
XYZxyz(48.6609, 34.3610, 94.4928)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FFA #B1FA7F
analogous
#8B7FFA #C87FFA #FA7FEE
triadic
#C87FFA #FAC87F #7FFAC8
tetradic
#C87FFA #FA8B7F #B1FA7F #7FEEFA
square
#C87FFA #FA8B7F #B1FA7F #7FEEFA
split-complementary
#C87FFA #EEFA7F #7FFA8B
monochromatic
#950AF5 #AF44F8 #C87FFA #E1BAFC #F2E2FE

Accessibility & contrast

On white

2.67
#C87FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#C87FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FFA
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FFA#FFFFFF#000000##000000
##C87FFA1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#75A0F7
Tritanopia (blue-blind)
#C293B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c87ffa;
/* rgb */ color: rgb(200, 127, 250);
/* oklch */ color: oklch(72.1% 0.185 309.9);
Tailwind
colors: {
  custom: {
    50: '#dba6fc',
    500: '#c87ffa',
    950: '#000000',
  },
}
SCSS
$custom: #c87ffa;
$custom-light: #dba6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c87ffa",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 275.61,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72107,
    "c": 0.18469,
    "h": 309.9
  },
  "luminance": 0.3436
}

Semantic roles & 50–950 ramp

primary
#C87FFA
secondary
#E2F6D5
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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