#B87BED#B87BED

#B87BED is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.1% C 0.171 H 307.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#B87BED
RGBrgb(184, 123, 237)
HSLhsl(272, 76%, 71%)
HSVhsv(272, 48%, 93%)
CMYKcmyk(22.4%, 48.1%, 0%, 7.1%)
CIE-LABlab(62.06, 44.78, -48.68)
CIE-LCHlch(62.06, 66.14, 312.61°)
OKLaboklab(69.14% 0.1033 -0.1362)
OKLCHoklch(69.14% 0.171 307.2)
XYZxyz(42.1331, 30.4711, 83.7663)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BED #B0ED7B
analogous
#7F7BED #B87BED #ED7BE9
triadic
#B87BED #EDB87B #7BEDB8
tetradic
#B87BED #ED7F7B #B0ED7B #7BE9ED
square
#B87BED #ED7F7B #B0ED7B #7BE9ED
split-complementary
#B87BED #E9ED7B #7BED7F
monochromatic
#7D1DD1 #9B45E6 #B87BED #D5B1F4 #F1E4FB

Accessibility & contrast

On white

2.96
#B87BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#B87BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87BED
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BED#FFFFFF#000000##000000
##B87BED1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F1
Deuteranopia (green-blind)
#6D97EA
Tritanopia (blue-blind)
#B08EA9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b87bed;
/* rgb */ color: rgb(184, 123, 237);
/* oklch */ color: oklch(69.1% 0.171 307.2);
Tailwind
colors: {
  custom: {
    50: '#d0a3f3',
    500: '#b87bed',
    950: '#000000',
  },
}
SCSS
$custom: #b87bed;
$custom-light: #d0a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bed",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 272.105,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6914,
    "c": 0.17093,
    "h": 307.2
  },
  "luminance": 0.30471
}

Semantic roles & 50–950 ramp

primary
#B87BED
secondary
#E1F1D2
accent
#D80D6C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87BED

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

Preview Lab → · Contrast checker → · Palette generator →

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