#B951DB#B951DB

#B951DB is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.4% C 0.215 H 316.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B951DB
RGBrgb(185, 81, 219)
HSLhsl(285, 66%, 59%)
HSVhsv(285, 63%, 86%)
CMYKcmyk(15.5%, 63%, 0%, 14.1%)
CIE-LABlab(53.29, 62.20, -52.51)
CIE-LCHlch(53.29, 81.40, 319.82°)
OKLaboklab(62.42% 0.157 -0.1471)
OKLCHoklch(62.42% 0.215 316.9)
XYZxyz(35.7343, 21.3150, 69.2360)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951DB #73DB51
analogous
#7451DB #B951DB #DB51B8
triadic
#B951DB #DBB951 #51DBB9
tetradic
#B951DB #DB7451 #73DB51 #51B8DB
square
#B951DB #DB7451 #73DB51 #51B8DB
split-complementary
#B951DB #B8DB51 #51DB74
monochromatic
#761E93 #9F29C6 #B951DB #CD84E5 #E2B6F0

Accessibility & contrast

On white

3.99
#B951DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#B951DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951DB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951DB#FFFFFF#000000##000000
##B951DB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2179DF
Deuteranopia (green-blind)
#5382D8
Tritanopia (blue-blind)
#B76A8F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b951db;
/* rgb */ color: rgb(185, 81, 219);
/* oklch */ color: oklch(62.4% 0.215 316.9);
Tailwind
colors: {
  custom: {
    50: '#d188e7',
    500: '#b951db',
    950: '#000000',
  },
}
SCSS
$custom: #b951db;
$custom-light: #d188e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b951db",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 285.217,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62418,
    "c": 0.21515,
    "h": 316.9
  },
  "luminance": 0.21314
}

Semantic roles & 50–950 ramp

primary
#B951DB
secondary
#B6DFA9
accent
#E93F69
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B951DB

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

Preview Lab → · Contrast checker → · Palette generator →

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