#C87BF0#C87BF0

#C87BF0 is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.0% C 0.180 H 313.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#C87BF0
RGBrgb(200, 123, 240)
HSLhsl(279, 80%, 71%)
HSVhsv(279, 49%, 94%)
CMYKcmyk(16.7%, 48.7%, 0%, 5.9%)
CIE-LABlab(63.95, 49.74, -47.24)
CIE-LCHlch(63.95, 68.59, 316.48°)
OKLaboklab(70.98% 0.1228 -0.1316)
OKLCHoklch(70.98% 0.18 313)
XYZxyz(46.6279, 32.7376, 86.2839)
Luminance0.3274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87BF0 #A3F07B
analogous
#8D7BF0 #C87BF0 #F07BDD
triadic
#C87BF0 #F0C87B #7BF0C8
tetradic
#C87BF0 #F08D7B #A3F07B #7BDDF0
square
#C87BF0 #F08D7B #A3F07B #7BDDF0
split-complementary
#C87BF0 #DDF07B #7BF08D
monochromatic
#9719D8 #B144EA #C87BF0 #DFB2F6 #F4E4FC

Accessibility & contrast

On white

2.78
#C87BF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#C87BF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87BF0
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87BF0#FFFFFF#000000##000000
##C87BF01.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6097F4
Deuteranopia (green-blind)
#779DED
Tritanopia (blue-blind)
#C48DAA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c87bf0;
/* rgb */ color: rgb(200, 123, 240);
/* oklch */ color: oklch(71.0% 0.180 313.0);
Tailwind
colors: {
  custom: {
    50: '#dba3f5',
    500: '#c87bf0',
    950: '#000000',
  },
}
SCSS
$custom: #c87bf0;
$custom-light: #dba3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c87bf0",
  "rgb": {
    "r": 200,
    "g": 123,
    "b": 240
  },
  "hsl": {
    "h": 279.487,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70982,
    "c": 0.17997,
    "h": 313
  },
  "luminance": 0.32737
}

Semantic roles & 50–950 ramp

primary
#C87BF0
secondary
#DFF3D4
accent
#DC0A51
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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