#B87EE6#B87EE6

#B87EE6 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.3% C 0.158 H 308.5°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#B87EE6
RGBrgb(184, 126, 230)
HSLhsl(273, 68%, 70%)
HSVhsv(273, 45%, 90%)
CMYKcmyk(20%, 45.2%, 0%, 9.8%)
CIE-LABlab(62.36, 41.59, -44.32)
CIE-LCHlch(62.36, 60.77, 313.18°)
OKLaboklab(69.25% 0.0983 -0.1235)
OKLCHoklch(69.25% 0.158 308.5)
XYZxyz(41.5082, 30.8257, 78.6109)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87EE6 #ACE67E
analogous
#847EE6 #B87EE6 #E67EE0
triadic
#B87EE6 #E6B87E #7EE6B8
tetradic
#B87EE6 #E6847E #ACE67E #7EE0E6
square
#B87EE6 #E6847E #ACE67E #7EE0E6
split-complementary
#B87EE6 #E0E67E #7EE684
monochromatic
#7E26C4 #9C4BDC #B87EE6 #D4B1F0 #F0E5FA

Accessibility & contrast

On white

2.93
#B87EE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#B87EE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87EE6
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87EE6#FFFFFF#000000##000000
##B87EE61.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6594EA
Deuteranopia (green-blind)
#7498E3
Tritanopia (blue-blind)
#B28FA7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b87ee6;
/* rgb */ color: rgb(184, 126, 230);
/* oklch */ color: oklch(69.3% 0.158 308.5);
Tailwind
colors: {
  custom: {
    50: '#cfa4ee',
    500: '#b87ee6',
    950: '#000000',
  },
}
SCSS
$custom: #b87ee6;
$custom-light: #cfa4ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ee6",
  "rgb": {
    "r": 184,
    "g": 126,
    "b": 230
  },
  "hsl": {
    "h": 273.462,
    "s": 67.532,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69254,
    "c": 0.15788,
    "h": 308.5
  },
  "luminance": 0.30825
}

Semantic roles & 50–950 ramp

primary
#B87EE6
secondary
#DEEFD1
accent
#CF1668
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B87EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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