#B87BEB#B87BEB

#B87BEB is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.0% C 0.169 H 307.7°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#B87BEB
RGBrgb(184, 123, 235)
HSLhsl(273, 74%, 70%)
HSVhsv(273, 48%, 92%)
CMYKcmyk(21.7%, 47.7%, 0%, 7.8%)
CIE-LABlab(61.96, 44.33, -47.72)
CIE-LCHlch(61.96, 65.14, 312.89°)
OKLaboklab(69.03% 0.1031 -0.1334)
OKLCHoklch(69.03% 0.169 307.7)
XYZxyz(41.8426, 30.3549, 82.2359)
Luminance0.3035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BEB #AEEB7B
analogous
#807BEB #B87BEB #EB7BE6
triadic
#B87BEB #EBB87B #7BEBB8
tetradic
#B87BEB #EB807B #AEEB7B #7BE6EB
square
#B87BEB #EB807B #AEEB7B #7BE6EB
split-complementary
#B87BEB #E6EB7B #7BEB80
monochromatic
#7E1FCD #9B46E3 #B87BEB #D5B0F3 #F1E4FB

Accessibility & contrast

On white

2.97
#B87BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#B87BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87BEB
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BEB#FFFFFF#000000##000000
##B87BEB1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EF
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#B18EA8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b87beb;
/* rgb */ color: rgb(184, 123, 235);
/* oklch */ color: oklch(69.0% 0.169 307.7);
Tailwind
colors: {
  custom: {
    50: '#cfa2f2',
    500: '#b87beb',
    950: '#000000',
  },
}
SCSS
$custom: #b87beb;
$custom-light: #cfa2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b87beb",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 272.679,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69034,
    "c": 0.16859,
    "h": 307.7
  },
  "luminance": 0.30354
}

Semantic roles & 50–950 ramp

primary
#B87BEB
secondary
#E0F0D1
accent
#D6106A
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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