#C87BF2#C87BF2

#C87BF2 is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.1% C 0.182 H 312.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#C87BF2
RGBrgb(200, 123, 242)
HSLhsl(279, 82%, 72%)
HSVhsv(279, 49%, 95%)
CMYKcmyk(17.4%, 49.2%, 0%, 5.1%)
CIE-LABlab(64.05, 50.16, -48.19)
CIE-LCHlch(64.05, 69.56, 316.15°)
OKLaboklab(71.09% 0.123 -0.1343)
OKLCHoklch(71.09% 0.182 312.5)
XYZxyz(46.9266, 32.8571, 87.8572)
Luminance0.3286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87BF2 #A5F27B
analogous
#8D7BF2 #C87BF2 #F27BE0
triadic
#C87BF2 #F2C87B #7BF2C8
tetradic
#C87BF2 #F28D7B #A5F27B #7BE0F2
square
#C87BF2 #F28D7B #A5F27B #7BE0F2
split-complementary
#C87BF2 #E0F27B #7BF28D
monochromatic
#9716DD #B143ED #C87BF2 #DFB3F7 #F3E3FC

Accessibility & contrast

On white

2.77
#C87BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#C87BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87BF2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87BF2#FFFFFF#000000##000000
##C87BF21.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F97F6
Deuteranopia (green-blind)
#769DEF
Tritanopia (blue-blind)
#C48EAB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c87bf2;
/* rgb */ color: rgb(200, 123, 242);
/* oklch */ color: oklch(71.1% 0.182 312.5);
Tailwind
colors: {
  custom: {
    50: '#dba3f7',
    500: '#c87bf2',
    950: '#000000',
  },
}
SCSS
$custom: #c87bf2;
$custom-light: #dba3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c87bf2",
  "rgb": {
    "r": 200,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 278.824,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71086,
    "c": 0.18215,
    "h": 312.5
  },
  "luminance": 0.32856
}

Semantic roles & 50–950 ramp

primary
#C87BF2
secondary
#E0F4D5
accent
#DE0753
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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