#B951DA#B951DA

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

Color values

HEX#B951DA
RGBrgb(185, 81, 218)
HSLhsl(286, 65%, 59%)
HSVhsv(286, 63%, 85%)
CMYKcmyk(15.1%, 62.8%, 0%, 14.5%)
CIE-LABlab(53.24, 62.00, -52.04)
CIE-LCHlch(53.24, 80.94, 319.99°)
OKLaboklab(62.36% 0.157 -0.1457)
OKLCHoklch(62.36% 0.214 317.1)
XYZxyz(35.6031, 21.2625, 68.5447)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951DA #72DA51
analogous
#7451DA #B951DA #DA51B7
triadic
#B951DA #DAB951 #51DAB9
tetradic
#B951DA #DA7451 #72DA51 #51B7DA
square
#B951DA #DA7451 #72DA51 #51B7DA
split-complementary
#B951DA #B7DA51 #51DA74
monochromatic
#761F92 #9F2AC4 #B951DA #CD83E5 #E2B6EF

Accessibility & contrast

On white

4.00
#B951DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#B951DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951DA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951DA#FFFFFF#000000##000000
##B951DA1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2379DE
Deuteranopia (green-blind)
#5482D7
Tritanopia (blue-blind)
#B8698E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b951da;
/* rgb */ color: rgb(185, 81, 218);
/* oklch */ color: oklch(62.4% 0.214 317.1);
Tailwind
colors: {
  custom: {
    50: '#d188e6',
    500: '#b951da',
    950: '#000000',
  },
}
SCSS
$custom: #b951da;
$custom-light: #d188e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b951da",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 285.547,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62359,
    "c": 0.2142,
    "h": 317.1
  },
  "luminance": 0.21261
}

Semantic roles & 50–950 ramp

primary
#B951DA
secondary
#B5DEA8
accent
#E84068
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B951DA

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

Preview Lab → · Contrast checker → · Palette generator →

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