#B851DC#B851DC

#B851DC is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.4% C 0.216 H 316.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B851DC
RGBrgb(184, 81, 220)
HSLhsl(284, 67%, 59%)
HSVhsv(284, 63%, 86%)
CMYKcmyk(16.4%, 63.2%, 0%, 13.7%)
CIE-LABlab(53.22, 62.16, -53.21)
CIE-LCHlch(53.22, 81.83, 319.44°)
OKLaboklab(62.35% 0.1558 -0.1492)
OKLCHoklch(62.35% 0.216 316.2)
XYZxyz(35.6259, 21.2438, 69.9201)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B851DC #75DC51
analogous
#7351DC #B851DC #DC51BB
triadic
#B851DC #DCB851 #51DCB8
tetradic
#B851DC #DC7351 #75DC51 #51BBDC
square
#B851DC #DC7351 #75DC51 #51BBDC
split-complementary
#B851DC #BBDC51 #51DC73
monochromatic
#761E95 #9E28C8 #B851DC #CD84E6 #E2B7F0

Accessibility & contrast

On white

4.00
#B851DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#B851DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B851DC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B851DC#FFFFFF#000000##000000
##B851DC1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E79E0
Deuteranopia (green-blind)
#5282D9
Tritanopia (blue-blind)
#B66A8F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b851dc;
/* rgb */ color: rgb(184, 81, 220);
/* oklch */ color: oklch(62.4% 0.216 316.2);
Tailwind
colors: {
  custom: {
    50: '#d188e7',
    500: '#b851dc',
    950: '#000000',
  },
}
SCSS
$custom: #b851dc;
$custom-light: #d188e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b851dc",
  "rgb": {
    "r": 184,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 284.46,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62353,
    "c": 0.2157,
    "h": 316.2
  },
  "luminance": 0.21243
}

Semantic roles & 50–950 ramp

primary
#B851DC
secondary
#B7E0A9
accent
#E93E6B
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B851DC

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

Preview Lab → · Contrast checker → · Palette generator →

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