#C87BF5#C87BF5

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

Color values

HEX#C87BF5
RGBrgb(200, 123, 245)
HSLhsl(278, 86%, 72%)
HSVhsv(278, 50%, 96%)
CMYKcmyk(18.4%, 49.8%, 0%, 3.9%)
CIE-LABlab(64.19, 50.80, -49.61)
CIE-LCHlch(64.19, 71.00, 315.68°)
OKLaboklab(71.24% 0.1233 -0.1385)
OKLCHoklch(71.24% 0.185 311.7)
XYZxyz(47.3809, 33.0388, 90.2497)
Luminance0.3304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87BF5 #A8F57B
analogous
#8B7BF5 #C87BF5 #F57BE5
triadic
#C87BF5 #F5C87B #7BF5C8
tetradic
#C87BF5 #F58B7B #A8F57B #7BE5F5
square
#C87BF5 #F58B7B #A8F57B #7BE5F5
split-complementary
#C87BF5 #E5F57B #7BF58B
monochromatic
#9611E4 #B042F1 #C87BF5 #E0B4F9 #F3E3FD

Accessibility & contrast

On white

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

On black

7.61
#C87BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87BF5
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87BF5#FFFFFF#000000##000000
##C87BF51.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D98F9
Deuteranopia (green-blind)
#749DF2
Tritanopia (blue-blind)
#C38FAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c87bf5;
/* rgb */ color: rgb(200, 123, 245);
/* oklch */ color: oklch(71.2% 0.185 311.7);
Tailwind
colors: {
  custom: {
    50: '#dba3f9',
    500: '#c87bf5',
    950: '#000000',
  },
}
SCSS
$custom: #c87bf5;
$custom-light: #dba3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c87bf5",
  "rgb": {
    "r": 200,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 277.869,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71243,
    "c": 0.18543,
    "h": 311.7
  },
  "luminance": 0.33038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C87BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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