#B87DFF#B87DFF

#B87DFF is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.4% C 0.189 H 302.8°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#B87DFF
RGBrgb(184, 125, 255)
HSLhsl(267, 100%, 75%)
HSVhsv(267, 51%, 100%)
CMYKcmyk(27.8%, 51%, 0%, 0%)
CIE-LABlab(63.41, 47.85, -56.46)
CIE-LCHlch(63.41, 74.01, 310.28°)
OKLaboklab(70.44% 0.1024 -0.1589)
OKLCHoklch(70.44% 0.189 302.8)
XYZxyz(45.1467, 32.0776, 98.4015)
Luminance0.3208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87DFF #C4FF7D
analogous
#7D83FF #B87DFF #F97DFF
triadic
#B87DFF #FFB87D #7DFFB8
tetradic
#B87DFF #FF7D83 #C4FF7D #7DFFF9
square
#B87DFF #FF7D83 #C4FF7D #7DFFF9
split-complementary
#B87DFF #FFF97D #83FF7D
monochromatic
#7503FF #9740FF #B87DFF #D9BAFF #EEE0FF

Accessibility & contrast

On white

2.83
#B87DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#B87DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87DFF
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87DFF#FFFFFF#000000##000000
##B87DFF1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5298FF
Deuteranopia (green-blind)
#6399FC
Tritanopia (blue-blind)
#AB95B2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b87dff;
/* rgb */ color: rgb(184, 125, 255);
/* oklch */ color: oklch(70.4% 0.189 302.8);
Tailwind
colors: {
  custom: {
    50: '#d0a4ff',
    500: '#b87dff',
    950: '#000000',
  },
}
SCSS
$custom: #b87dff;
$custom-light: #d0a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b87dff",
  "rgb": {
    "r": 184,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 267.231,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70443,
    "c": 0.18902,
    "h": 302.8
  },
  "luminance": 0.32078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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