#B87EEF#B87EEF

#B87EEF is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.7% C 0.169 H 306.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#B87EEF
RGBrgb(184, 126, 239)
HSLhsl(271, 78%, 72%)
HSVhsv(271, 47%, 94%)
CMYKcmyk(23%, 47.3%, 0%, 6.3%)
CIE-LABlab(62.80, 43.61, -48.61)
CIE-LCHlch(62.80, 65.31, 311.90°)
OKLaboklab(69.72% 0.0995 -0.136)
OKLCHoklch(69.72% 0.169 306.2)
XYZxyz(42.8048, 31.3444, 85.4397)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87EEF #B5EF7E
analogous
#807EEF #B87EEF #EF7EEE
triadic
#B87EEF #EFB87E #7EEFB8
tetradic
#B87EEF #EF807E #B5EF7E #7EEEEF
square
#B87EEF #EF807E #B5EF7E #7EEEEF
split-complementary
#B87EEF #EEEF7E #7EEF80
monochromatic
#7C1BD8 #9A48E8 #B87EEF #D6B4F6 #F0E4FC

Accessibility & contrast

On white

2.89
#B87EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#B87EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87EEF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87EEF#FFFFFF#000000##000000
##B87EEF1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#6F98EC
Tritanopia (blue-blind)
#B091AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b87eef;
/* rgb */ color: rgb(184, 126, 239);
/* oklch */ color: oklch(69.7% 0.169 306.2);
Tailwind
colors: {
  custom: {
    50: '#cfa5f5',
    500: '#b87eef',
    950: '#000000',
  },
}
SCSS
$custom: #b87eef;
$custom-light: #cfa5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b87eef",
  "rgb": {
    "r": 184,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 270.796,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.69723,
    "c": 0.16853,
    "h": 306.2
  },
  "luminance": 0.31344
}

Semantic roles & 50–950 ramp

primary
#B87EEF
secondary
#E4F3D6
accent
#DA0B70
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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