#B871EA#B871EA

#B871EA is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.4% C 0.183 H 309.4°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B871EA
RGBrgb(184, 113, 234)
HSLhsl(275, 74%, 68%)
HSVhsv(275, 52%, 92%)
CMYKcmyk(21.4%, 51.7%, 0%, 8.2%)
CIE-LABlab(59.84, 49.43, -50.53)
CIE-LCHlch(59.84, 70.69, 314.37°)
OKLaboklab(67.44% 0.1163 -0.1415)
OKLCHoklch(67.44% 0.183 309.4)
XYZxyz(40.5207, 27.9418, 81.0846)
Luminance0.2794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B871EA #A3EA71
analogous
#7B71EA #B871EA #EA71DF
triadic
#B871EA #EAB871 #71EAB8
tetradic
#B871EA #EA7B71 #A3EA71 #71DFEA
square
#B871EA #EA7B71 #A3EA71 #71DFEA
split-complementary
#B871EA #DFEA71 #71EA7B
monochromatic
#7F1DC4 #9D3CE2 #B871EA #D3A6F2 #EDDCFA

Accessibility & contrast

On white

3.19
#B871EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#B871EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B871EA
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B871EA#FFFFFF#000000##000000
##B871EA1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEE
Deuteranopia (green-blind)
#6591E7
Tritanopia (blue-blind)
#B186A3
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b871ea;
/* rgb */ color: rgb(184, 113, 234);
/* oklch */ color: oklch(67.4% 0.183 309.4);
Tailwind
colors: {
  custom: {
    50: '#d09cf1',
    500: '#b871ea',
    950: '#000000',
  },
}
SCSS
$custom: #b871ea;
$custom-light: #d09cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b871ea",
  "rgb": {
    "r": 184,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 275.207,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67441,
    "c": 0.18321,
    "h": 309.4
  },
  "luminance": 0.27941
}

Semantic roles & 50–950 ramp

primary
#B871EA
secondary
#D8EEC9
accent
#D60F61
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B871EA

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

Preview Lab → · Contrast checker → · Palette generator →

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