#B951D3#B951D3

#B951D3 is a mid, highly saturated purple. Relative luminance 0.209; OKLCH L 61.9% C 0.208 H 319.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B951D3
RGBrgb(185, 81, 211)
HSLhsl(288, 60%, 57%)
HSVhsv(288, 62%, 83%)
CMYKcmyk(12.3%, 61.6%, 0%, 17.3%)
CIE-LABlab(52.84, 60.64, -48.68)
CIE-LCHlch(52.84, 77.76, 321.24°)
OKLaboklab(61.95% 0.157 -0.1359)
OKLCHoklch(61.95% 0.208 319.1)
XYZxyz(34.7064, 20.9038, 63.8221)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951D3 #6BD351
analogous
#7851D3 #B951D3 #D351AC
triadic
#B951D3 #D3B951 #51D3B9
tetradic
#B951D3 #D37851 #6BD351 #51ACD3
square
#B951D3 #D37851 #6BD351 #51ACD3
split-complementary
#B951D3 #ACD351 #51D378
monochromatic
#732287 #9D2FB8 #B951D3 #CD82DF #E0B3EC

Accessibility & contrast

On white

4.05
#B951D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#B951D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951D3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951D3#FFFFFF#000000##000000
##B951D31.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E77D7
Deuteranopia (green-blind)
#5982D0
Tritanopia (blue-blind)
#B9678B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b951d3;
/* rgb */ color: rgb(185, 81, 211);
/* oklch */ color: oklch(61.9% 0.208 319.1);
Tailwind
colors: {
  custom: {
    50: '#d188e1',
    500: '#b951d3',
    950: '#000000',
  },
}
SCSS
$custom: #b951d3;
$custom-light: #d188e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b951d3",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 211
  },
  "hsl": {
    "h": 288,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61949,
    "c": 0.20764,
    "h": 319.1
  },
  "luminance": 0.20902
}

Semantic roles & 50–950 ramp

primary
#B951D3
secondary
#B0DAA6
accent
#E34565
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B951D3

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

Preview Lab → · Contrast checker → · Palette generator →

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