#B87FFA#B87FFA

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

Color values

HEX#B87FFA
RGBrgb(184, 127, 250)
HSLhsl(268, 92%, 74%)
HSVhsv(268, 49%, 98%)
CMYKcmyk(26.4%, 49.2%, 0%, 2%)
CIE-LABlab(63.57, 45.60, -53.46)
CIE-LCHlch(63.57, 70.27, 310.47°)
OKLaboklab(70.48% 0.0994 -0.1501)
OKLCHoklch(70.48% 0.18 303.5)
XYZxyz(44.6081, 32.2713, 94.3029)
Luminance0.3227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FFA #C1FA7F
analogous
#7F84FA #B87FFA #F67FFA
triadic
#B87FFA #FAB87F #7FFAB8
tetradic
#B87FFA #FA7F84 #C1FA7F #7FFAF6
square
#B87FFA #FA7F84 #C1FA7F #7FFAF6
split-complementary
#B87FFA #FAF67F #84FA7F
monochromatic
#770AF5 #9744F8 #B87FFA #D9BAFC #EFE2FE

Accessibility & contrast

On white

2.82
#B87FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#B87FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87FFA
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FFA#FFFFFF#000000##000000
##B87FFA1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FE
Deuteranopia (green-blind)
#699AF7
Tritanopia (blue-blind)
#AC95B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b87ffa;
/* rgb */ color: rgb(184, 127, 250);
/* oklch */ color: oklch(70.5% 0.180 303.5);
Tailwind
colors: {
  custom: {
    50: '#d0a5fc',
    500: '#b87ffa',
    950: '#000000',
  },
}
SCSS
$custom: #b87ffa;
$custom-light: #d0a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ffa",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 267.805,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70477,
    "c": 0.18004,
    "h": 303.5
  },
  "luminance": 0.32271
}

Semantic roles & 50–950 ramp

primary
#B87FFA
secondary
#E7F6D5
accent
#E6007B
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B87FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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