#C87FFE#C87FFE

#C87FFE is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.3% C 0.189 H 309.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#C87FFE
RGBrgb(200, 127, 254)
HSLhsl(274, 98%, 75%)
HSVhsv(274, 50%, 100%)
CMYKcmyk(21.3%, 50%, 0%, 0.4%)
CIE-LABlab(65.45, 50.65, -52.56)
CIE-LCHlch(65.45, 73.00, 313.94°)
OKLaboklab(72.32% 0.1189 -0.1471)
OKLCHoklch(72.32% 0.189 309)
XYZxyz(49.2947, 34.6146, 97.8311)
Luminance0.3461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FFE #B5FE7F
analogous
#887FFE #C87FFE #FE7FF5
triadic
#C87FFE #FEC87F #7FFEC8
tetradic
#C87FFE #FE887F #B5FE7F #7FF5FE
square
#C87FFE #FE887F #B5FE7F #7FF5FE
split-complementary
#C87FFE #F5FE7F #7FFE88
monochromatic
#9406FD #AE42FE #C87FFE #E2BCFE #F2E1FF

Accessibility & contrast

On white

2.65
#C87FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#C87FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FFE
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FFE#FFFFFF#000000##000000
##C87FFE1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#72A0FB
Tritanopia (blue-blind)
#C195B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c87ffe;
/* rgb */ color: rgb(200, 127, 254);
/* oklch */ color: oklch(72.3% 0.189 309.0);
Tailwind
colors: {
  custom: {
    50: '#dba6ff',
    500: '#c87ffe',
    950: '#000000',
  },
}
SCSS
$custom: #c87ffe;
$custom-light: #dba6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c87ffe",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 274.488,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72319,
    "c": 0.18916,
    "h": 309
  },
  "luminance": 0.34614
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C87FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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