#B871FC#B871FC

#B871FC is a light, highly saturated violet. Relative luminance 0.290; OKLCH L 68.5% C 0.203 H 305.2°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#B871FC
RGBrgb(184, 113, 252)
HSLhsl(271, 96%, 72%)
HSVhsv(271, 55%, 99%)
CMYKcmyk(27%, 55.2%, 0%, 1.2%)
CIE-LABlab(60.81, 53.48, -58.95)
CIE-LCHlch(60.81, 79.60, 312.21°)
OKLaboklab(68.47% 0.1173 -0.1661)
OKLCHoklch(68.47% 0.203 305.2)
XYZxyz(43.2392, 29.0291, 95.4019)
Luminance0.2903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B871FC #B5FC71
analogous
#7371FC #B871FC #FC71FB
triadic
#B871FC #FCB871 #71FCB8
tetradic
#B871FC #FC7371 #B5FC71 #71FBFC
square
#B871FC #FC7371 #B5FC71 #71FBFC
split-complementary
#B871FC #FBFC71 #71FC73
monochromatic
#7C05EE #9A35FB #B871FC #D6ADFD #F0E1FE

Accessibility & contrast

On white

3.09
#B871FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#B871FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B871FC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B871FC#FFFFFF#000000##000000
##B871FC1.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D91FF
Deuteranopia (green-blind)
#5793F9
Tritanopia (blue-blind)
#AC8BAC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b871fc;
/* rgb */ color: rgb(184, 113, 252);
/* oklch */ color: oklch(68.5% 0.203 305.2);
Tailwind
colors: {
  custom: {
    50: '#d19cfe',
    500: '#b871fc',
    950: '#000000',
  },
}
SCSS
$custom: #b871fc;
$custom-light: #d19cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b871fc",
  "rgb": {
    "r": 184,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 270.647,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68471,
    "c": 0.20341,
    "h": 305.2
  },
  "luminance": 0.29029
}

Semantic roles & 50–950 ramp

primary
#B871FC
secondary
#E4F6D3
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B871FC

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

Preview Lab → · Contrast checker → · Palette generator →

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