#B871FF#B871FF

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

Color values

HEX#B871FF
RGBrgb(184, 113, 255)
HSLhsl(270, 100%, 72%)
HSVhsv(270, 56%, 100%)
CMYKcmyk(27.8%, 55.7%, 0%, 0%)
CIE-LABlab(60.98, 54.17, -60.34)
CIE-LCHlch(60.98, 81.08, 311.92°)
OKLaboklab(68.65% 0.1174 -0.1702)
OKLCHoklch(68.65% 0.207 304.6)
XYZxyz(43.7184, 29.2208, 97.9254)
Luminance0.2922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B871FF #B8FF71
analogous
#7171FF #B871FF #FF71FF
triadic
#B871FF #FFB871 #71FFB8
tetradic
#B871FF #FF7171 #B8FF71 #71FFFF
square
#B871FF #FF7171 #B8FF71 #71FFFF
split-complementary
#B871FF #FFFF71 #71FF71
monochromatic
#7B00F6 #9934FF #B871FF #D7AEFF #F0E0FF

Accessibility & contrast

On white

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

On black

6.84
#B871FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B871FF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B871FF#FFFFFF#000000##000000
##B871FF1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A91FF
Deuteranopia (green-blind)
#5593FC
Tritanopia (blue-blind)
#AC8CAD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b871ff;
/* rgb */ color: rgb(184, 113, 255);
/* oklch */ color: oklch(68.6% 0.207 304.6);
Tailwind
colors: {
  custom: {
    50: '#d19cff',
    500: '#b871ff',
    950: '#000000',
  },
}
SCSS
$custom: #b871ff;
$custom-light: #d19cff;
$custom-dark: #000000;
JSON
{
  "hex": "#b871ff",
  "rgb": {
    "r": 184,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 270,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68649,
    "c": 0.20678,
    "h": 304.6
  },
  "luminance": 0.29221
}

Semantic roles & 50–950 ramp

primary
#B871FF
secondary
#E6F7D4
accent
#E60073
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B871FF

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

Preview Lab → · Contrast checker → · Palette generator →

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