#B951DE#B951DE

#B951DE is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.6% C 0.218 H 316.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B951DE
RGBrgb(185, 81, 222)
HSLhsl(284, 68%, 59%)
HSVhsv(284, 64%, 87%)
CMYKcmyk(16.7%, 63.5%, 0%, 12.9%)
CIE-LABlab(53.46, 62.79, -53.94)
CIE-LCHlch(53.46, 82.78, 319.34°)
OKLaboklab(62.6% 0.1569 -0.1513)
OKLCHoklch(62.6% 0.218 316.1)
XYZxyz(36.1328, 21.4744, 71.3347)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951DE #76DE51
analogous
#7351DE #B951DE #DE51BD
triadic
#B951DE #DEB951 #51DEB9
tetradic
#B951DE #DE7351 #76DE51 #51BDDE
square
#B951DE #DE7351 #76DE51 #51BDDE
split-complementary
#B951DE #BDDE51 #51DE73
monochromatic
#781D98 #A027CB #B951DE #CE84E8 #E2B8F2

Accessibility & contrast

On white

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

On black

5.29
#B951DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951DE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951DE#FFFFFF#000000##000000
##B951DE1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B79E2
Deuteranopia (green-blind)
#5183DB
Tritanopia (blue-blind)
#B76B91
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b951de;
/* rgb */ color: rgb(185, 81, 222);
/* oklch */ color: oklch(62.6% 0.218 316.1);
Tailwind
colors: {
  custom: {
    50: '#d288e9',
    500: '#b951de',
    950: '#000000',
  },
}
SCSS
$custom: #b951de;
$custom-light: #d288e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b951de",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 284.255,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62598,
    "c": 0.21799,
    "h": 316.1
  },
  "luminance": 0.21473
}

Semantic roles & 50–950 ramp

primary
#B951DE
secondary
#B8E1AA
accent
#EB3D6B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B951DE

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

Preview Lab → · Contrast checker → · Palette generator →

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