#B951DC#B951DC

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

Color values

HEX#B951DC
RGBrgb(185, 81, 220)
HSLhsl(285, 67%, 59%)
HSVhsv(285, 63%, 86%)
CMYKcmyk(15.9%, 63.2%, 0%, 13.7%)
CIE-LABlab(53.35, 62.39, -52.99)
CIE-LCHlch(53.35, 81.86, 319.66°)
OKLaboklab(62.48% 0.157 -0.1485)
OKLCHoklch(62.48% 0.216 316.6)
XYZxyz(35.8663, 21.3678, 69.9314)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951DC #74DC51
analogous
#7451DC #B951DC #DC51BA
triadic
#B951DC #DCB951 #51DCB9
tetradic
#B951DC #DC7451 #74DC51 #51BADC
square
#B951DC #DC7451 #74DC51 #51BADC
split-complementary
#B951DC #BADC51 #51DC74
monochromatic
#771E95 #9F28C8 #B951DC #CD84E6 #E2B7F0

Accessibility & contrast

On white

3.98
#B951DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#B951DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951DC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951DC#FFFFFF#000000##000000
##B951DC1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F79E0
Deuteranopia (green-blind)
#5383D9
Tritanopia (blue-blind)
#B76A8F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b951dc;
/* rgb */ color: rgb(185, 81, 220);
/* oklch */ color: oklch(62.5% 0.216 316.6);
Tailwind
colors: {
  custom: {
    50: '#d188e7',
    500: '#b951dc',
    950: '#000000',
  },
}
SCSS
$custom: #b951dc;
$custom-light: #d188e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b951dc",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 284.892,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62478,
    "c": 0.2161,
    "h": 316.6
  },
  "luminance": 0.21366
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B951DC

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

Preview Lab → · Contrast checker → · Palette generator →

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