#B87BFE#B87BFE

#B87BFE is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.1% C 0.191 H 303.3°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#B87BFE
RGBrgb(184, 123, 254)
HSLhsl(268, 98%, 74%)
HSVhsv(268, 52%, 100%)
CMYKcmyk(27.6%, 51.6%, 0%, 0.4%)
CIE-LABlab(62.94, 48.69, -56.65)
CIE-LCHlch(62.94, 74.70, 310.67°)
OKLaboklab(70.08% 0.1049 -0.1594)
OKLCHoklch(70.08% 0.191 303.3)
XYZxyz(44.7356, 31.5121, 97.4724)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BFE #C1FE7B
analogous
#7B80FE #B87BFE #FA7BFE
triadic
#B87BFE #FEB87B #7BFEB8
tetradic
#B87BFE #FE7B80 #C1FE7B #7BFEFA
square
#B87BFE #FE7B80 #C1FE7B #7BFEFA
split-complementary
#B87BFE #FEFA7B #80FE7B
monochromatic
#7702FD #973EFE #B87BFE #D9B8FE #EFE1FF

Accessibility & contrast

On white

2.88
#B87BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#B87BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87BFE
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BFE#FFFFFF#000000##000000
##B87BFE1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F97FF
Deuteranopia (green-blind)
#6198FB
Tritanopia (blue-blind)
#AB93B1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b87bfe;
/* rgb */ color: rgb(184, 123, 254);
/* oklch */ color: oklch(70.1% 0.191 303.3);
Tailwind
colors: {
  custom: {
    50: '#d0a3ff',
    500: '#b87bfe',
    950: '#000000',
  },
}
SCSS
$custom: #b87bfe;
$custom-light: #d0a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bfe",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 267.939,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70078,
    "c": 0.19086,
    "h": 303.3
  },
  "luminance": 0.31512
}

Semantic roles & 50–950 ramp

primary
#B87BFE
secondary
#E7F7D4
accent
#E6007B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B87BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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