#C87BEF#C87BEF

#C87BEF is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.9% C 0.179 H 313.3°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#C87BEF
RGBrgb(200, 123, 239)
HSLhsl(280, 78%, 71%)
HSVhsv(280, 49%, 94%)
CMYKcmyk(16.3%, 48.5%, 0%, 6.3%)
CIE-LABlab(63.90, 49.53, -46.76)
CIE-LCHlch(63.90, 68.11, 316.65°)
OKLaboklab(70.93% 0.1227 -0.1302)
OKLCHoklch(70.93% 0.179 313.3)
XYZxyz(46.4798, 32.6784, 85.5037)
Luminance0.3268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87BEF #A2EF7B
analogous
#8E7BEF #C87BEF #EF7BDC
triadic
#C87BEF #EFC87B #7BEFC8
tetradic
#C87BEF #EF8E7B #A2EF7B #7BDCEF
square
#C87BEF #EF8E7B #A2EF7B #7BDCEF
split-complementary
#C87BEF #DCEF7B #7BEF8E
monochromatic
#971AD6 #B144E8 #C87BEF #DFB2F6 #F4E4FC

Accessibility & contrast

On white

2.79
#C87BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#C87BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87BEF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87BEF#FFFFFF#000000##000000
##C87BEF1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6197F3
Deuteranopia (green-blind)
#779DEC
Tritanopia (blue-blind)
#C58DAA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c87bef;
/* rgb */ color: rgb(200, 123, 239);
/* oklch */ color: oklch(70.9% 0.179 313.3);
Tailwind
colors: {
  custom: {
    50: '#dba3f5',
    500: '#c87bef',
    950: '#000000',
  },
}
SCSS
$custom: #c87bef;
$custom-light: #dba3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c87bef",
  "rgb": {
    "r": 200,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 279.828,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70931,
    "c": 0.17888,
    "h": 313.3
  },
  "luminance": 0.32677
}

Semantic roles & 50–950 ramp

primary
#C87BEF
secondary
#DEF2D3
accent
#DB0B51
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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