#B871FE#B871FE

#B871FE is a light, highly saturated violet. Relative luminance 0.292; OKLCH L 68.6% C 0.206 H 304.8°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#B871FE
RGBrgb(184, 113, 254)
HSLhsl(270, 99%, 72%)
HSVhsv(270, 56%, 100%)
CMYKcmyk(27.6%, 55.5%, 0%, 0.4%)
CIE-LABlab(60.92, 53.94, -59.88)
CIE-LCHlch(60.92, 80.59, 312.01°)
OKLaboklab(68.59% 0.1174 -0.1688)
OKLCHoklch(68.59% 0.206 304.8)
XYZxyz(43.5578, 29.1566, 97.0798)
Luminance0.2916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B871FE #B7FE71
analogous
#7271FE #B871FE #FE71FD
triadic
#B871FE #FEB871 #71FEB8
tetradic
#B871FE #FE7271 #B7FE71 #71FDFE
square
#B871FE #FE7271 #B7FE71 #71FDFE
split-complementary
#B871FE #FDFE71 #71FE72
monochromatic
#7B02F3 #9A34FE #B871FE #D6AEFE #F0E1FF

Accessibility & contrast

On white

3.07
#B871FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#B871FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B871FE
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B871FE#FFFFFF#000000##000000
##B871FE1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B91FF
Deuteranopia (green-blind)
#5693FB
Tritanopia (blue-blind)
#AC8CAD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b871fe;
/* rgb */ color: rgb(184, 113, 254);
/* oklch */ color: oklch(68.6% 0.206 304.8);
Tailwind
colors: {
  custom: {
    50: '#d19cff',
    500: '#b871fe',
    950: '#000000',
  },
}
SCSS
$custom: #b871fe;
$custom-light: #d19cff;
$custom-dark: #000000;
JSON
{
  "hex": "#b871fe",
  "rgb": {
    "r": 184,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 270.213,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.6859,
    "c": 0.20565,
    "h": 304.8
  },
  "luminance": 0.29156
}

Semantic roles & 50–950 ramp

primary
#B871FE
secondary
#E5F7D4
accent
#E60072
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B871FE

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

Preview Lab → · Contrast checker → · Palette generator →

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