#B87FFC#B87FFC

#B87FFC is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.6% C 0.182 H 303.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#B87FFC
RGBrgb(184, 127, 252)
HSLhsl(267, 95%, 74%)
HSVhsv(267, 50%, 99%)
CMYKcmyk(27%, 49.6%, 0%, 1.2%)
CIE-LABlab(63.67, 46.07, -54.39)
CIE-LCHlch(63.67, 71.28, 310.27°)
OKLaboklab(70.59% 0.0996 -0.1528)
OKLCHoklch(70.59% 0.182 303.1)
XYZxyz(44.9233, 32.3974, 95.9632)
Luminance0.3240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FFC #C3FC7F
analogous
#7F85FC #B87FFC #F77FFC
triadic
#B87FFC #FCB87F #7FFCB8
tetradic
#B87FFC #FC7F85 #C3FC7F #7FFCF7
square
#B87FFC #FC7F85 #C3FC7F #7FFCF7
split-complementary
#B87FFC #FCF77F #85FC7F
monochromatic
#7607F9 #9743FB #B87FFC #D9BBFD #EEE1FE

Accessibility & contrast

On white

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

On black

7.48
#B87FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87FFC
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FFC#FFFFFF#000000##000000
##B87FFC1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#679AF9
Tritanopia (blue-blind)
#AC96B2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b87ffc;
/* rgb */ color: rgb(184, 127, 252);
/* oklch */ color: oklch(70.6% 0.182 303.1);
Tailwind
colors: {
  custom: {
    50: '#d0a5fe',
    500: '#b87ffc',
    950: '#000000',
  },
}
SCSS
$custom: #b87ffc;
$custom-light: #d0a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ffc",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 267.36,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.70587,
    "c": 0.18242,
    "h": 303.1
  },
  "luminance": 0.32397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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