#C87BF3#C87BF3

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

Color values

HEX#C87BF3
RGBrgb(200, 123, 243)
HSLhsl(279, 83%, 72%)
HSVhsv(279, 49%, 95%)
CMYKcmyk(17.7%, 49.4%, 0%, 4.7%)
CIE-LABlab(64.09, 50.37, -48.66)
CIE-LCHlch(64.09, 70.04, 315.99°)
OKLaboklab(71.14% 0.1231 -0.1357)
OKLCHoklch(71.14% 0.183 312.2)
XYZxyz(47.0772, 32.9174, 88.6504)
Luminance0.3292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87BF3 #A6F37B
analogous
#8C7BF3 #C87BF3 #F37BE2
triadic
#C87BF3 #F3C87B #7BF3C8
tetradic
#C87BF3 #F38C7B #A6F37B #7BE2F3
square
#C87BF3 #F38C7B #A6F37B #7BE2F3
split-complementary
#C87BF3 #E2F37B #7BF38C
monochromatic
#9714DF #B143EE #C87BF3 #DFB3F8 #F3E3FC

Accessibility & contrast

On white

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

On black

7.58
#C87BF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87BF3
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87BF3#FFFFFF#000000##000000
##C87BF31.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F7
Deuteranopia (green-blind)
#759DF0
Tritanopia (blue-blind)
#C48EAC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c87bf3;
/* rgb */ color: rgb(200, 123, 243);
/* oklch */ color: oklch(71.1% 0.183 312.2);
Tailwind
colors: {
  custom: {
    50: '#dba3f7',
    500: '#c87bf3',
    950: '#000000',
  },
}
SCSS
$custom: #c87bf3;
$custom-light: #dba3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c87bf3",
  "rgb": {
    "r": 200,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 278.5,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71138,
    "c": 0.18324,
    "h": 312.2
  },
  "luminance": 0.32916
}

Semantic roles & 50–950 ramp

primary
#C87BF3
secondary
#E1F4D6
accent
#E00654
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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