#B87CFA#B87CFA

#B87CFA is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.0% C 0.185 H 304.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#B87CFA
RGBrgb(184, 124, 250)
HSLhsl(269, 93%, 73%)
HSVhsv(269, 50%, 98%)
CMYKcmyk(26.4%, 50.4%, 0%, 2%)
CIE-LABlab(62.93, 47.22, -54.46)
CIE-LCHlch(62.93, 72.08, 310.93°)
OKLaboklab(70.01% 0.1033 -0.153)
OKLCHoklch(70.01% 0.185 304)
XYZxyz(44.2264, 31.5079, 94.1756)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87CFA #BEFA7C
analogous
#7C7FFA #B87CFA #F77CFA
triadic
#B87CFA #FAB87C #7CFAB8
tetradic
#B87CFA #FA7C7F #BEFA7C #7CFAF7
square
#B87CFA #FA7C7F #BEFA7C #7CFAF7
split-complementary
#B87CFA #FAF77C #7FFA7C
monochromatic
#7809F2 #9841F8 #B87CFA #D8B7FC #EFE2FE

Accessibility & contrast

On white

2.88
#B87CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#B87CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B87CFA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87CFA#FFFFFF#000000##000000
##B87CFA1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FE
Deuteranopia (green-blind)
#6698F7
Tritanopia (blue-blind)
#AD93B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b87cfa;
/* rgb */ color: rgb(184, 124, 250);
/* oklch */ color: oklch(70.0% 0.185 304.0);
Tailwind
colors: {
  custom: {
    50: '#d0a3fc',
    500: '#b87cfa',
    950: '#000000',
  },
}
SCSS
$custom: #b87cfa;
$custom-light: #d0a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b87cfa",
  "rgb": {
    "r": 184,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 268.571,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70007,
    "c": 0.18464,
    "h": 304
  },
  "luminance": 0.31508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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