#B851DB#B851DB

#B851DB is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.3% C 0.215 H 316.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B851DB
RGBrgb(184, 81, 219)
HSLhsl(285, 66%, 59%)
HSVhsv(285, 63%, 86%)
CMYKcmyk(16%, 63%, 0%, 14.1%)
CIE-LABlab(53.16, 61.97, -52.74)
CIE-LCHlch(53.16, 81.37, 319.60°)
OKLaboklab(62.29% 0.1558 -0.1478)
OKLCHoklch(62.29% 0.215 316.5)
XYZxyz(35.4939, 21.1910, 69.2247)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B851DB #74DB51
analogous
#7351DB #B851DB #DB51B9
triadic
#B851DB #DBB851 #51DBB8
tetradic
#B851DB #DB7351 #74DB51 #51B9DB
square
#B851DB #DB7351 #74DB51 #51B9DB
split-complementary
#B851DB #B9DB51 #51DB73
monochromatic
#761E93 #9E29C6 #B851DB #CD84E5 #E1B6F0

Accessibility & contrast

On white

4.01
#B851DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#B851DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B851DB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B851DB#FFFFFF#000000##000000
##B851DB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2079DF
Deuteranopia (green-blind)
#5282D8
Tritanopia (blue-blind)
#B66A8F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b851db;
/* rgb */ color: rgb(184, 81, 219);
/* oklch */ color: oklch(62.3% 0.215 316.5);
Tailwind
colors: {
  custom: {
    50: '#d188e7',
    500: '#b851db',
    950: '#000000',
  },
}
SCSS
$custom: #b851db;
$custom-light: #d188e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b851db",
  "rgb": {
    "r": 184,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 284.783,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62293,
    "c": 0.21475,
    "h": 316.5
  },
  "luminance": 0.2119
}

Semantic roles & 50–950 ramp

primary
#B851DB
secondary
#B7DFA9
accent
#E93F6A
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B851DB

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

Preview Lab → · Contrast checker → · Palette generator →

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