#B87CD8#B87CD8

#B87CD8 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.2% C 0.145 H 313.1°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#B87CD8
RGBrgb(184, 124, 216)
HSLhsl(279, 54%, 67%)
HSVhsv(279, 43%, 85%)
CMYKcmyk(14.8%, 42.6%, 0%, 15.3%)
CIE-LABlab(61.28, 39.62, -38.21)
CIE-LCHlch(61.28, 55.04, 316.04°)
OKLaboklab(68.23% 0.0989 -0.1058)
OKLCHoklch(68.23% 0.145 313.1)
XYZxyz(39.3674, 29.5643, 68.5851)
Luminance0.2956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87CD8 #9CD87C
analogous
#8A7CD8 #B87CD8 #D87CCA
triadic
#B87CD8 #D8B87C #7CD8B8
tetradic
#B87CD8 #D88A7C #9CD87C #7CCAD8
square
#B87CD8 #D88A7C #9CD87C #7CCAD8
split-complementary
#B87CD8 #CAD87C #7CD88A
monochromatic
#7F32A8 #9E4DCA #B87CD8 #D2ABE6 #EBDAF4

Accessibility & contrast

On white

3.04
#B87CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#B87CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B87CD8
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87CD8#FFFFFF#000000##000000
##B87CD81.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A91DB
Deuteranopia (green-blind)
#7A95D5
Tritanopia (blue-blind)
#B589A0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b87cd8;
/* rgb */ color: rgb(184, 124, 216);
/* oklch */ color: oklch(68.2% 0.145 313.1);
Tailwind
colors: {
  custom: {
    50: '#cfa3e4',
    500: '#b87cd8',
    950: '#000000',
  },
}
SCSS
$custom: #b87cd8;
$custom-light: #cfa3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b87cd8",
  "rgb": {
    "r": 184,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 279.13,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6823,
    "c": 0.14484,
    "h": 313.1
  },
  "luminance": 0.29564
}

Semantic roles & 50–950 ramp

primary
#B87CD8
secondary
#D3E7C9
accent
#C2245B
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F15
muted
#827F84

Preview Lab

Preview with #B87CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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