#B87CFE#B87CFE

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

Color values

HEX#B87CFE
RGBrgb(184, 124, 254)
HSLhsl(268, 98%, 74%)
HSVhsv(268, 51%, 100%)
CMYKcmyk(27.6%, 51.2%, 0%, 0.4%)
CIE-LABlab(63.15, 48.15, -56.32)
CIE-LCHlch(63.15, 74.10, 310.53°)
OKLaboklab(70.23% 0.1036 -0.1585)
OKLCHoklch(70.23% 0.189 303.2)
XYZxyz(44.8602, 31.7615, 97.5139)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87CFE #C2FE7C
analogous
#7C81FE #B87CFE #F97CFE
triadic
#B87CFE #FEB87C #7CFEB8
tetradic
#B87CFE #FE7C81 #C2FE7C #7CFEF9
square
#B87CFE #FE7C81 #C2FE7C #7CFEF9
split-complementary
#B87CFE #FEF97C #81FE7C
monochromatic
#7603FD #973FFE #B87CFE #D9B9FE #EFE1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B87CFE#FFFFFF#000000##000000
##B87CFE1.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)
#5197FF
Deuteranopia (green-blind)
#6399FB
Tritanopia (blue-blind)
#AB94B2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b87cfe;
/* rgb */ color: rgb(184, 124, 254);
/* oklch */ color: oklch(70.2% 0.189 303.2);
Tailwind
colors: {
  custom: {
    50: '#d0a3ff',
    500: '#b87cfe',
    950: '#000000',
  },
}
SCSS
$custom: #b87cfe;
$custom-light: #d0a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b87cfe",
  "rgb": {
    "r": 184,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 267.692,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70232,
    "c": 0.18934,
    "h": 303.2
  },
  "luminance": 0.31761
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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