#B871EC#B871EC

#B871EC is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.6% C 0.185 H 308.9°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B871EC
RGBrgb(184, 113, 236)
HSLhsl(275, 76%, 68%)
HSVhsv(275, 52%, 93%)
CMYKcmyk(22%, 52.1%, 0%, 7.5%)
CIE-LABlab(59.94, 49.88, -51.48)
CIE-LCHlch(59.94, 71.68, 314.09°)
OKLaboklab(67.55% 0.1165 -0.1443)
OKLCHoklch(67.55% 0.185 308.9)
XYZxyz(40.8097, 28.0573, 82.6064)
Luminance0.2806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B871EC #A5EC71
analogous
#7A71EC #B871EC #EC71E3
triadic
#B871EC #ECB871 #71ECB8
tetradic
#B871EC #EC7A71 #A5EC71 #71E3EC
square
#B871EC #EC7A71 #A5EC71 #71E3EC
split-complementary
#B871EC #E3EC71 #71EC7A
monochromatic
#7F1BC8 #9D3BE5 #B871EC #D3A7F3 #EEDDFA

Accessibility & contrast

On white

3.18
#B871EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#B871EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B871EC
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B871EC#FFFFFF#000000##000000
##B871EC1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DF0
Deuteranopia (green-blind)
#6491E9
Tritanopia (blue-blind)
#B186A4
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b871ec;
/* rgb */ color: rgb(184, 113, 236);
/* oklch */ color: oklch(67.6% 0.185 308.9);
Tailwind
colors: {
  custom: {
    50: '#d09cf3',
    500: '#b871ec',
    950: '#000000',
  },
}
SCSS
$custom: #b871ec;
$custom-light: #d09cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b871ec",
  "rgb": {
    "r": 184,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 274.634,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67552,
    "c": 0.18545,
    "h": 308.9
  },
  "luminance": 0.28057
}

Semantic roles & 50–950 ramp

primary
#B871EC
secondary
#DAEFCA
accent
#D90D63
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B871EC

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

Preview Lab → · Contrast checker → · Palette generator →

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