#B871FA#B871FA

#B871FA is a light, highly saturated violet. Relative luminance 0.289; OKLCH L 68.4% C 0.201 H 305.7°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B871FA
RGBrgb(184, 113, 250)
HSLhsl(271, 93%, 71%)
HSVhsv(271, 55%, 98%)
CMYKcmyk(26.4%, 54.8%, 0%, 2%)
CIE-LABlab(60.70, 53.02, -58.03)
CIE-LCHlch(60.70, 78.61, 312.42°)
OKLaboklab(68.35% 0.1173 -0.1634)
OKLCHoklch(68.35% 0.201 305.7)
XYZxyz(42.9239, 28.9030, 93.7415)
Luminance0.2890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B871FA #B3FA71
analogous
#7371FA #B871FA #FA71F7
triadic
#B871FA #FAB871 #71FAB8
tetradic
#B871FA #FA7371 #B3FA71 #71F7FA
square
#B871FA #FA7371 #B3FA71 #71F7FA
split-complementary
#B871FA #F7FA71 #71FA73
monochromatic
#7C08E8 #9A36F8 #B871FA #D6ACFC #F0E1FE

Accessibility & contrast

On white

3.10
#B871FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#B871FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B871FA
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B871FA#FFFFFF#000000##000000
##B871FA1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4090FF
Deuteranopia (green-blind)
#5993F7
Tritanopia (blue-blind)
#AD8BAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b871fa;
/* rgb */ color: rgb(184, 113, 250);
/* oklch */ color: oklch(68.4% 0.201 305.7);
Tailwind
colors: {
  custom: {
    50: '#d19cfd',
    500: '#b871fa',
    950: '#000000',
  },
}
SCSS
$custom: #b871fa;
$custom-light: #d19cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b871fa",
  "rgb": {
    "r": 184,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 271.095,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.68353,
    "c": 0.20116,
    "h": 305.7
  },
  "luminance": 0.28903
}

Semantic roles & 50–950 ramp

primary
#B871FA
secondary
#E3F5D1
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B871FA

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

Preview Lab → · Contrast checker → · Palette generator →

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