#B87CEF#B87CEF

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

Color values

HEX#B87CEF
RGBrgb(184, 124, 239)
HSLhsl(271, 78%, 71%)
HSVhsv(271, 48%, 94%)
CMYKcmyk(23%, 48.1%, 0%, 6.3%)
CIE-LABlab(62.37, 44.69, -49.29)
CIE-LCHlch(62.37, 66.54, 312.20°)
OKLaboklab(69.41% 0.1022 -0.1379)
OKLCHoklch(69.41% 0.172 306.5)
XYZxyz(42.5516, 30.8380, 85.3553)
Luminance0.3084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87CEF #B3EF7C
analogous
#7E7CEF #B87CEF #EF7CED
triadic
#B87CEF #EFB87C #7CEFB8
tetradic
#B87CEF #EF7E7C #B3EF7C #7CEDEF
square
#B87CEF #EF7E7C #B3EF7C #7CEDEF
split-complementary
#B87CEF #EDEF7C #7CEF7E
monochromatic
#7C1AD6 #9A45E8 #B87CEF #D6B3F6 #F0E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B87CEF#FFFFFF#000000##000000
##B87CEF1.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)
#5D95F3
Deuteranopia (green-blind)
#6D97EC
Tritanopia (blue-blind)
#B090AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b87cef;
/* rgb */ color: rgb(184, 124, 239);
/* oklch */ color: oklch(69.4% 0.172 306.5);
Tailwind
colors: {
  custom: {
    50: '#d0a3f5',
    500: '#b87cef',
    950: '#000000',
  },
}
SCSS
$custom: #b87cef;
$custom-light: #d0a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b87cef",
  "rgb": {
    "r": 184,
    "g": 124,
    "b": 239
  },
  "hsl": {
    "h": 271.304,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.69405,
    "c": 0.17169,
    "h": 306.5
  },
  "luminance": 0.30838
}

Semantic roles & 50–950 ramp

primary
#B87CEF
secondary
#E3F3D4
accent
#DA0B6E
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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