#B87CE4#B87CE4

#B87CE4 is a light, vivid violet. Relative luminance 0.302; OKLCH L 68.8% C 0.159 H 309.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#B87CE4
RGBrgb(184, 124, 228)
HSLhsl(275, 66%, 69%)
HSVhsv(275, 46%, 89%)
CMYKcmyk(19.3%, 45.6%, 0%, 10.6%)
CIE-LABlab(61.83, 42.23, -44.03)
CIE-LCHlch(61.83, 61.01, 313.80°)
OKLaboklab(68.83% 0.1008 -0.1227)
OKLCHoklch(68.83% 0.159 309.4)
XYZxyz(40.9758, 30.2077, 77.0558)
Luminance0.3021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87CE4 #A8E47C
analogous
#847CE4 #B87CE4 #E47CDC
triadic
#B87CE4 #E4B87C #7CE4B8
tetradic
#B87CE4 #E4847C #A8E47C #7CDCE4
square
#B87CE4 #E4847C #A8E47C #7CDCE4
split-complementary
#B87CE4 #DCE47C #7CE484
monochromatic
#7E27BE #9C49DA #B87CE4 #D4AFEE #EFE1F9

Accessibility & contrast

On white

2.98
#B87CE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#B87CE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87CE4
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87CE4#FFFFFF#000000##000000
##B87CE41.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6493E8
Deuteranopia (green-blind)
#7396E1
Tritanopia (blue-blind)
#B28DA5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b87ce4;
/* rgb */ color: rgb(184, 124, 228);
/* oklch */ color: oklch(68.8% 0.159 309.4);
Tailwind
colors: {
  custom: {
    50: '#cfa3ed',
    500: '#b87ce4',
    950: '#000000',
  },
}
SCSS
$custom: #b87ce4;
$custom-light: #cfa3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ce4",
  "rgb": {
    "r": 184,
    "g": 124,
    "b": 228
  },
  "hsl": {
    "h": 274.615,
    "s": 65.823,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68828,
    "c": 0.15879,
    "h": 309.4
  },
  "luminance": 0.30207
}

Semantic roles & 50–950 ramp

primary
#B87CE4
secondary
#DCEDCF
accent
#CE1865
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B87CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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