#B87CDC#B87CDC

#B87CDC is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.4% C 0.149 H 311.8°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#B87CDC
RGBrgb(184, 124, 220)
HSLhsl(278, 58%, 67%)
HSVhsv(278, 44%, 86%)
CMYKcmyk(16.4%, 43.6%, 0%, 13.7%)
CIE-LABlab(61.46, 40.48, -40.16)
CIE-LCHlch(61.46, 57.02, 315.23°)
OKLaboklab(68.43% 0.0996 -0.1115)
OKLCHoklch(68.43% 0.149 311.8)
XYZxyz(39.8908, 29.7737, 71.3417)
Luminance0.2977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87CDC #A0DC7C
analogous
#887CDC #B87CDC #DC7CD0
triadic
#B87CDC #DCB87C #7CDCB8
tetradic
#B87CDC #DC887C #A0DC7C #7CD0DC
square
#B87CDC #DC887C #A0DC7C #7CD0DC
split-complementary
#B87CDC #D0DC7C #7CDC88
monochromatic
#7F2FAF #9E4CCF #B87CDC #D2ACE9 #ECDDF6

Accessibility & contrast

On white

3.02
#B87CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#B87CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B87CDC
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87CDC#FFFFFF#000000##000000
##B87CDC1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6891DF
Deuteranopia (green-blind)
#7896D9
Tritanopia (blue-blind)
#B48AA2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b87cdc;
/* rgb */ color: rgb(184, 124, 220);
/* oklch */ color: oklch(68.4% 0.149 311.8);
Tailwind
colors: {
  custom: {
    50: '#cfa3e7',
    500: '#b87cdc',
    950: '#000000',
  },
}
SCSS
$custom: #b87cdc;
$custom-light: #cfa3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b87cdc",
  "rgb": {
    "r": 184,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 277.5,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.68426,
    "c": 0.14946,
    "h": 311.8
  },
  "luminance": 0.29773
}

Semantic roles & 50–950 ramp

primary
#B87CDC
secondary
#D6E9CB
accent
#C5205E
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B87CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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