#B87FFB#B87FFB

#B87FFB is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.5% C 0.181 H 303.3°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#B87FFB
RGBrgb(184, 127, 251)
HSLhsl(268, 94%, 74%)
HSVhsv(268, 49%, 98%)
CMYKcmyk(26.7%, 49.4%, 0%, 1.6%)
CIE-LABlab(63.62, 45.84, -53.93)
CIE-LCHlch(63.62, 70.77, 310.37°)
OKLaboklab(70.53% 0.0995 -0.1515)
OKLCHoklch(70.53% 0.181 303.3)
XYZxyz(44.7653, 32.3342, 95.1309)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FFB #C2FB7F
analogous
#7F84FB #B87FFB #F67FFB
triadic
#B87FFB #FBB87F #7FFBB8
tetradic
#B87FFB #FB7F84 #C2FB7F #7FFBF6
square
#B87FFB #FB7F84 #C2FB7F #7FFBF6
split-complementary
#B87FFB #FBF67F #84FB7F
monochromatic
#7608F7 #9744F9 #B87FFB #D9BAFD #EFE1FE

Accessibility & contrast

On white

2.81
#B87FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#B87FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87FFB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FFB#FFFFFF#000000##000000
##B87FFB1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#689AF8
Tritanopia (blue-blind)
#AC95B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b87ffb;
/* rgb */ color: rgb(184, 127, 251);
/* oklch */ color: oklch(70.5% 0.181 303.3);
Tailwind
colors: {
  custom: {
    50: '#d0a5fd',
    500: '#b87ffb',
    950: '#000000',
  },
}
SCSS
$custom: #b87ffb;
$custom-light: #d0a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ffb",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 267.581,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70532,
    "c": 0.18124,
    "h": 303.3
  },
  "luminance": 0.32334
}

Semantic roles & 50–950 ramp

primary
#B87FFB
secondary
#E7F6D5
accent
#E6007C
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B87FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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