#C87BF7#C87BF7

#C87BF7 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.3% C 0.188 H 311.2°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#C87BF7
RGBrgb(200, 123, 247)
HSLhsl(277, 89%, 73%)
HSVhsv(277, 50%, 97%)
CMYKcmyk(19%, 50.2%, 0%, 3.1%)
CIE-LABlab(64.29, 51.22, -50.55)
CIE-LCHlch(64.29, 71.97, 315.38°)
OKLaboklab(71.35% 0.1235 -0.1412)
OKLCHoklch(71.35% 0.188 311.2)
XYZxyz(47.6878, 33.1616, 91.8663)
Luminance0.3316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87BF7 #AAF77B
analogous
#8A7BF7 #C87BF7 #F77BE8
triadic
#C87BF7 #F7C87B #7BF7C8
tetradic
#C87BF7 #F78A7B #AAF77B #7BE8F7
square
#C87BF7 #F78A7B #AAF77B #7BE8F7
split-complementary
#C87BF7 #E8F77B #7BF78A
monochromatic
#960EE9 #B041F4 #C87BF7 #E0B5FA #F3E2FD

Accessibility & contrast

On white

2.75
#C87BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#C87BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87BF7
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87BF7#FFFFFF#000000##000000
##C87BF71.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FB
Deuteranopia (green-blind)
#739DF4
Tritanopia (blue-blind)
#C38FAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c87bf7;
/* rgb */ color: rgb(200, 123, 247);
/* oklch */ color: oklch(71.3% 0.188 311.2);
Tailwind
colors: {
  custom: {
    50: '#dba3fa',
    500: '#c87bf7',
    950: '#000000',
  },
}
SCSS
$custom: #c87bf7;
$custom-light: #dba3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c87bf7",
  "rgb": {
    "r": 200,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 277.258,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71349,
    "c": 0.18762,
    "h": 311.2
  },
  "luminance": 0.33161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C87BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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