#B871CD#B871CD

#B871CD is a light, vivid purple. Relative luminance 0.264; OKLCH L 65.9% C 0.151 H 318.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B871CD
RGBrgb(184, 113, 205)
HSLhsl(286, 48%, 62%)
HSVhsv(286, 45%, 80%)
CMYKcmyk(10.2%, 44.9%, 0%, 19.6%)
CIE-LABlab(58.42, 43.27, -36.48)
CIE-LCHlch(58.42, 56.59, 319.87°)
OKLaboklab(65.93% 0.1127 -0.1008)
OKLCHoklch(65.93% 0.151 318.2)
XYZxyz(36.6902, 26.4096, 60.9106)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B871CD #86CD71
analogous
#8A71CD #B871CD #CD71B4
triadic
#B871CD #CDB871 #71CDB8
tetradic
#B871CD #CD8A71 #86CD71 #71B4CD
square
#B871CD #CD8A71 #86CD71 #71B4CD
split-complementary
#B871CD #B4CD71 #71CD8A
monochromatic
#7B3391 #A144BD #B871CD #CF9EDD #E5CCED

Accessibility & contrast

On white

3.34
#B871CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#B871CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B871CD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B871CD#FFFFFF#000000##000000
##B871CD1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6288D0
Deuteranopia (green-blind)
#758FCA
Tritanopia (blue-blind)
#B87D95
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b871cd;
/* rgb */ color: rgb(184, 113, 205);
/* oklch */ color: oklch(65.9% 0.151 318.2);
Tailwind
colors: {
  custom: {
    50: '#cf9bdc',
    500: '#b871cd',
    950: '#000000',
  },
}
SCSS
$custom: #b871cd;
$custom-light: #cf9bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#b871cd",
  "rgb": {
    "r": 184,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 286.304,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65932,
    "c": 0.15121,
    "h": 318.2
  },
  "luminance": 0.26408
}

Semantic roles & 50–950 ramp

primary
#B871CD
secondary
#C4DEBC
accent
#BB2A4B
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140E15
muted
#827E83

Preview Lab

Preview with #B871CD

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

Preview Lab → · Contrast checker → · Palette generator →

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