#B851BF#B851BF

#B851BF is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.7% C 0.189 H 325.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B851BF
RGBrgb(184, 81, 191)
HSLhsl(296, 46%, 53%)
HSVhsv(296, 58%, 75%)
CMYKcmyk(3.7%, 57.6%, 0%, 25.1%)
CIE-LABlab(51.65, 56.63, -39.10)
CIE-LCHlch(51.65, 68.82, 325.38°)
OKLaboklab(60.71% 0.1548 -0.1081)
OKLCHoklch(60.71% 0.189 325.1)
XYZxyz(32.1128, 19.8386, 51.4179)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B851BF #58BF51
analogous
#8151BF #B851BF #BF518F
triadic
#B851BF #BFB851 #51BFB8
tetradic
#B851BF #BF8151 #58BF51 #518FBF
square
#B851BF #BF8151 #58BF51 #518FBF
split-complementary
#B851BF #8FBF51 #51BF81
monochromatic
#69286D #94399A #B851BF #CA7ECF #DDAAE0

Accessibility & contrast

On white

4.23
#B851BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B851BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B851BF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B851BF#FFFFFF#000000##000000
##B851BF1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4173C2
Deuteranopia (green-blind)
#6480BC
Tritanopia (blue-blind)
#BC6080
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b851bf;
/* rgb */ color: rgb(184, 81, 191);
/* oklch */ color: oklch(60.7% 0.189 325.1);
Tailwind
colors: {
  custom: {
    50: '#d087d3',
    500: '#b851bf',
    950: '#000000',
  },
}
SCSS
$custom: #b851bf;
$custom-light: #d087d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b851bf",
  "rgb": {
    "r": 184,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 296.182,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60714,
    "c": 0.1888,
    "h": 325.1
  },
  "luminance": 0.19837
}

Semantic roles & 50–950 ramp

primary
#B851BF
secondary
#A1CE9E
accent
#D6525A
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B851BF

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

Preview Lab → · Contrast checker → · Palette generator →

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