#C87BF4#C87BF4

#C87BF4 is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.2% C 0.184 H 311.9°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#C87BF4
RGBrgb(200, 123, 244)
HSLhsl(278, 85%, 72%)
HSVhsv(278, 50%, 96%)
CMYKcmyk(18%, 49.6%, 0%, 4.3%)
CIE-LABlab(64.14, 50.58, -49.13)
CIE-LCHlch(64.14, 70.52, 315.83°)
OKLaboklab(71.19% 0.1232 -0.1371)
OKLCHoklch(71.19% 0.184 311.9)
XYZxyz(47.2286, 32.9779, 89.4478)
Luminance0.3298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87BF4 #A7F47B
analogous
#8C7BF4 #C87BF4 #F47BE3
triadic
#C87BF4 #F4C87B #7BF4C8
tetradic
#C87BF4 #F48C7B #A7F47B #7BE3F4
square
#C87BF4 #F48C7B #A7F47B #7BE3F4
split-complementary
#C87BF4 #E3F47B #7BF48C
monochromatic
#9713E2 #B043EF #C87BF4 #E0B3F9 #F3E3FD

Accessibility & contrast

On white

2.76
#C87BF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#C87BF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87BF4
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87BF4#FFFFFF#000000##000000
##C87BF41.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F8
Deuteranopia (green-blind)
#759DF1
Tritanopia (blue-blind)
#C38FAC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c87bf4;
/* rgb */ color: rgb(200, 123, 244);
/* oklch */ color: oklch(71.2% 0.184 311.9);
Tailwind
colors: {
  custom: {
    50: '#dba3f8',
    500: '#c87bf4',
    950: '#000000',
  },
}
SCSS
$custom: #c87bf4;
$custom-light: #dba3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c87bf4",
  "rgb": {
    "r": 200,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 278.182,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71191,
    "c": 0.18434,
    "h": 311.9
  },
  "luminance": 0.32977
}

Semantic roles & 50–950 ramp

primary
#C87BF4
secondary
#E1F5D6
accent
#E10455
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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