#B87DE2#B87DE2

#B87DE2 is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.9% C 0.155 H 309.8°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#B87DE2
RGBrgb(184, 125, 226)
HSLhsl(275, 64%, 69%)
HSVhsv(275, 45%, 89%)
CMYKcmyk(18.6%, 44.7%, 0%, 11.4%)
CIE-LABlab(61.95, 41.24, -42.73)
CIE-LCHlch(61.95, 59.39, 313.99°)
OKLaboklab(68.89% 0.0991 -0.1189)
OKLCHoklch(68.89% 0.155 309.8)
XYZxyz(40.8257, 30.3492, 75.6440)
Luminance0.3035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87DE2 #A7E27D
analogous
#867DE2 #B87DE2 #E27DD9
triadic
#B87DE2 #E2B87D #7DE2B8
tetradic
#B87DE2 #E2867D #A7E27D #7DD9E2
square
#B87DE2 #E2867D #A7E27D #7DD9E2
split-complementary
#B87DE2 #D9E27D #7DE286
monochromatic
#7F2ABB #9D4BD7 #B87DE2 #D3AFED #EFE1F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B87DE2#FFFFFF#000000##000000
##B87DE21.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)
#6693E6
Deuteranopia (green-blind)
#7597DF
Tritanopia (blue-blind)
#B38DA5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b87de2;
/* rgb */ color: rgb(184, 125, 226);
/* oklch */ color: oklch(68.9% 0.155 309.8);
Tailwind
colors: {
  custom: {
    50: '#cfa4eb',
    500: '#b87de2',
    950: '#000000',
  },
}
SCSS
$custom: #b87de2;
$custom-light: #cfa4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b87de2",
  "rgb": {
    "r": 184,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 275.05,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.68888,
    "c": 0.15481,
    "h": 309.8
  },
  "luminance": 0.30349
}

Semantic roles & 50–950 ramp

primary
#B87DE2
secondary
#DBECCE
accent
#CB1A64
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B87DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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