#B87BDF#B87BDF

#B87BDF is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.4% C 0.155 H 311.0°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#B87BDF
RGBrgb(184, 123, 223)
HSLhsl(277, 61%, 68%)
HSVhsv(277, 45%, 87%)
CMYKcmyk(17.5%, 44.8%, 0%, 12.5%)
CIE-LABlab(61.38, 41.68, -41.96)
CIE-LCHlch(61.38, 59.14, 314.81°)
OKLaboklab(68.41% 0.1015 -0.1167)
OKLCHoklch(68.41% 0.155 311)
XYZxyz(40.1670, 29.6847, 73.4115)
Luminance0.2968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BDF #A2DF7B
analogous
#867BDF #B87BDF #DF7BD4
triadic
#B87BDF #DFB87B #7BDFB8
tetradic
#B87BDF #DF867B #A2DF7B #7BD4DF
square
#B87BDF #DF867B #A2DF7B #7BD4DF
split-complementary
#B87BDF #D4DF7B #7BDF86
monochromatic
#7F2CB4 #9E4AD3 #B87BDF #D2ACEB #EDDEF7

Accessibility & contrast

On white

3.03
#B87BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#B87BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B87BDF
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BDF#FFFFFF#000000##000000
##B87BDF1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6591E3
Deuteranopia (green-blind)
#7595DC
Tritanopia (blue-blind)
#B48AA2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b87bdf;
/* rgb */ color: rgb(184, 123, 223);
/* oklch */ color: oklch(68.4% 0.155 311.0);
Tailwind
colors: {
  custom: {
    50: '#cfa2e9',
    500: '#b87bdf',
    950: '#000000',
  },
}
SCSS
$custom: #b87bdf;
$custom-light: #cfa2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bdf",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 223
  },
  "hsl": {
    "h": 276.6,
    "s": 60.976,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68413,
    "c": 0.15461,
    "h": 311
  },
  "luminance": 0.29684
}

Semantic roles & 50–950 ramp

primary
#B87BDF
secondary
#D8EACB
accent
#C91D60
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B87BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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