#C87BF8#C87BF8

#C87BF8 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.4% C 0.189 H 310.9°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#C87BF8
RGBrgb(200, 123, 248)
HSLhsl(277, 90%, 73%)
HSVhsv(277, 50%, 97%)
CMYKcmyk(19.4%, 50.4%, 0%, 2.7%)
CIE-LABlab(64.34, 51.44, -51.02)
CIE-LCHlch(64.34, 72.45, 315.23°)
OKLaboklab(71.4% 0.1236 -0.1426)
OKLCHoklch(71.4% 0.189 310.9)
XYZxyz(47.8426, 33.2235, 92.6812)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C87BF8 #ABF87B
analogous
#897BF8 #C87BF8 #F87BE9
triadic
#C87BF8 #F8C87B #7BF8C8
tetradic
#C87BF8 #F8897B #ABF87B #7BE9F8
square
#C87BF8 #F8897B #ABF87B #7BE9F8
split-complementary
#C87BF8 #E9F87B #7BF889
monochromatic
#960DEC #B041F5 #C87BF8 #E0B5FB #F3E2FD

Accessibility & contrast

On white

2.75
#C87BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#C87BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C87BF8
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C87BF8#FFFFFF#000000##000000
##C87BF81.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FC
Deuteranopia (green-blind)
#729DF5
Tritanopia (blue-blind)
#C290AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c87bf8;
/* rgb */ color: rgb(200, 123, 248);
/* oklch */ color: oklch(71.4% 0.189 310.9);
Tailwind
colors: {
  custom: {
    50: '#dba3fb',
    500: '#c87bf8',
    950: '#000000',
  },
}
SCSS
$custom: #c87bf8;
$custom-light: #dba3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c87bf8",
  "rgb": {
    "r": 200,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 276.96,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71402,
    "c": 0.18872,
    "h": 310.9
  },
  "luminance": 0.33223
}

Semantic roles & 50–950 ramp

primary
#C87BF8
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C87BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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