#C87BFB#C87BFB

#C87BFB is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.6% C 0.192 H 310.2°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#C87BFB
RGBrgb(200, 123, 251)
HSLhsl(276, 94%, 73%)
HSVhsv(276, 51%, 98%)
CMYKcmyk(20.3%, 51%, 0%, 1.6%)
CIE-LABlab(64.49, 52.08, -52.43)
CIE-LCHlch(64.49, 73.90, 314.81°)
OKLaboklab(71.56% 0.1239 -0.1467)
OKLCHoklch(71.56% 0.192 310.2)
XYZxyz(48.3117, 33.4112, 95.1520)
Luminance0.3341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87BFB #AEFB7B
analogous
#887BFB #C87BFB #FB7BEE
triadic
#C87BFB #FBC87B #7BFBC8
tetradic
#C87BFB #FB887B #AEFB7B #7BEEFB
square
#C87BFB #FB887B #AEFB7B #7BEEFB
split-complementary
#C87BFB #EEFB7B #7BFB88
monochromatic
#9607F4 #AF40F9 #C87BFB #E1B6FD #F3E1FE

Accessibility & contrast

On white

2.73
#C87BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#C87BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87BFB
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87BFB#FFFFFF#000000##000000
##C87BFB1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#709EF8
Tritanopia (blue-blind)
#C291B0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c87bfb;
/* rgb */ color: rgb(200, 123, 251);
/* oklch */ color: oklch(71.6% 0.192 310.2);
Tailwind
colors: {
  custom: {
    50: '#dba3fd',
    500: '#c87bfb',
    950: '#000000',
  },
}
SCSS
$custom: #c87bfb;
$custom-light: #dba3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c87bfb",
  "rgb": {
    "r": 200,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 276.094,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71563,
    "c": 0.19201,
    "h": 310.2
  },
  "luminance": 0.3341
}

Semantic roles & 50–950 ramp

primary
#C87BFB
secondary
#E2F6D5
accent
#E6005B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C87BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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