#B951DD#B951DD

#B951DD is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.5% C 0.217 H 316.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B951DD
RGBrgb(185, 81, 221)
HSLhsl(285, 67%, 59%)
HSVhsv(285, 63%, 87%)
CMYKcmyk(16.3%, 63.3%, 0%, 13.3%)
CIE-LABlab(53.41, 62.59, -53.46)
CIE-LCHlch(53.41, 82.32, 319.50°)
OKLaboklab(62.54% 0.157 -0.1499)
OKLCHoklch(62.54% 0.217 316.3)
XYZxyz(35.9992, 21.4209, 70.6310)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951DD #75DD51
analogous
#7351DD #B951DD #DD51BB
triadic
#B951DD #DDB951 #51DDB9
tetradic
#B951DD #DD7351 #75DD51 #51BBDD
square
#B951DD #DD7351 #75DD51 #51BBDD
split-complementary
#B951DD #BBDD51 #51DD73
monochromatic
#771D96 #A027C9 #B951DD #CE84E7 #E2B7F1

Accessibility & contrast

On white

3.97
#B951DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#B951DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951DD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951DD#FFFFFF#000000##000000
##B951DD1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D79E1
Deuteranopia (green-blind)
#5283DA
Tritanopia (blue-blind)
#B76A90
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b951dd;
/* rgb */ color: rgb(185, 81, 221);
/* oklch */ color: oklch(62.5% 0.217 316.3);
Tailwind
colors: {
  custom: {
    50: '#d188e8',
    500: '#b951dd',
    950: '#000000',
  },
}
SCSS
$custom: #b951dd;
$custom-light: #d188e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b951dd",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 284.571,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62538,
    "c": 0.21704,
    "h": 316.3
  },
  "luminance": 0.2142
}

Semantic roles & 50–950 ramp

primary
#B951DD
secondary
#B8E0AA
accent
#EA3E6A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B951DD

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

Preview Lab → · Contrast checker → · Palette generator →

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