#C87FEB#C87FEB

#C87FEB is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.3% C 0.168 H 314.0°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#C87FEB
RGBrgb(200, 127, 235)
HSLhsl(281, 73%, 71%)
HSVhsv(281, 46%, 92%)
CMYKcmyk(14.9%, 46%, 0%, 7.8%)
CIE-LABlab(64.53, 46.59, -43.56)
CIE-LCHlch(64.53, 63.78, 316.93°)
OKLaboklab(71.34% 0.1167 -0.1209)
OKLCHoklch(71.34% 0.168 314)
XYZxyz(46.4017, 33.4574, 82.5947)
Luminance0.3346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87FEB #A2EB7F
analogous
#927FEB #C87FEB #EB7FD8
triadic
#C87FEB #EBC87F #7FEBC8
tetradic
#C87FEB #EB927F #A2EB7F #7FD8EB
square
#C87FEB #EB927F #A2EB7F #7FD8EB
split-complementary
#C87FEB #D8EB7F #7FEB92
monochromatic
#9720CF #B14AE3 #C87FEB #DFB4F3 #F4E5FB

Accessibility & contrast

On white

2.73
#C87FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#C87FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87FEB
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87FEB#FFFFFF#000000##000000
##C87FEB1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EF
Deuteranopia (green-blind)
#7D9EE8
Tritanopia (blue-blind)
#C58FAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c87feb;
/* rgb */ color: rgb(200, 127, 235);
/* oklch */ color: oklch(71.3% 0.168 314.0);
Tailwind
colors: {
  custom: {
    50: '#daa6f2',
    500: '#c87feb',
    950: '#000000',
  },
}
SCSS
$custom: #c87feb;
$custom-light: #daa6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c87feb",
  "rgb": {
    "r": 200,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 280.556,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71338,
    "c": 0.16804,
    "h": 314
  },
  "luminance": 0.33456
}

Semantic roles & 50–950 ramp

primary
#C87FEB
secondary
#DEF1D5
accent
#D51050
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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