#B87DFA#B87DFA

#B87DFA is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.2% C 0.183 H 303.9°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#B87DFA
RGBrgb(184, 125, 250)
HSLhsl(268, 93%, 74%)
HSVhsv(268, 50%, 98%)
CMYKcmyk(26.4%, 50%, 0%, 2%)
CIE-LABlab(63.14, 46.68, -54.13)
CIE-LCHlch(63.14, 71.48, 310.77°)
OKLaboklab(70.16% 0.102 -0.1521)
OKLCHoklch(70.16% 0.183 303.9)
XYZxyz(44.3523, 31.7598, 94.2176)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87DFA #BFFA7D
analogous
#7D80FA #B87DFA #F77DFA
triadic
#B87DFA #FAB87D #7DFAB8
tetradic
#B87DFA #FA7D80 #BFFA7D #7DFAF7
square
#B87DFA #FA7D80 #BFFA7D #7DFAF7
split-complementary
#B87DFA #FAF77D #80FA7D
monochromatic
#7809F3 #9842F8 #B87DFA #D8B8FC #EFE2FE

Accessibility & contrast

On white

2.86
#B87DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#B87DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87DFA
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87DFA#FFFFFF#000000##000000
##B87DFA1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FE
Deuteranopia (green-blind)
#6799F7
Tritanopia (blue-blind)
#AC94B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b87dfa;
/* rgb */ color: rgb(184, 125, 250);
/* oklch */ color: oklch(70.2% 0.183 303.9);
Tailwind
colors: {
  custom: {
    50: '#d0a4fc',
    500: '#b87dfa',
    950: '#000000',
  },
}
SCSS
$custom: #b87dfa;
$custom-light: #d0a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b87dfa",
  "rgb": {
    "r": 184,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 268.32,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70163,
    "c": 0.18311,
    "h": 303.9
  },
  "luminance": 0.3176
}

Semantic roles & 50–950 ramp

primary
#B87DFA
secondary
#E6F6D5
accent
#E60079
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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