#B951BE#B951BE

#B951BE is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.8% C 0.188 H 325.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B951BE
RGBrgb(185, 81, 190)
HSLhsl(297, 46%, 53%)
HSVhsv(297, 57%, 75%)
CMYKcmyk(2.6%, 57.4%, 0%, 25.5%)
CIE-LABlab(51.75, 56.71, -38.37)
CIE-LCHlch(51.75, 68.47, 325.92°)
OKLaboklab(60.79% 0.1558 -0.106)
OKLCHoklch(60.79% 0.188 325.8)
XYZxyz(32.2436, 19.9187, 50.8516)
Luminance0.1992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951BE #56BE51
analogous
#8251BE #B951BE #BE518C
triadic
#B951BE #BEB951 #51BEB9
tetradic
#B951BE #BE8251 #56BE51 #518CBE
square
#B951BE #BE8251 #56BE51 #518CBE
split-complementary
#B951BE #8CBE51 #51BE82
monochromatic
#69286C #943999 #B951BE #CB7ECF #DDAADF

Accessibility & contrast

On white

4.21
#B951BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B951BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951BE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951BE#FFFFFF#000000##000000
##B951BE1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4273C1
Deuteranopia (green-blind)
#6680BB
Tritanopia (blue-blind)
#BD5F80
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b951be;
/* rgb */ color: rgb(185, 81, 190);
/* oklch */ color: oklch(60.8% 0.188 325.8);
Tailwind
colors: {
  custom: {
    50: '#d187d2',
    500: '#b951be',
    950: '#000000',
  },
}
SCSS
$custom: #b951be;
$custom-light: #d187d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b951be",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 297.248,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60793,
    "c": 0.18845,
    "h": 325.8
  },
  "luminance": 0.19917
}

Semantic roles & 50–950 ramp

primary
#B951BE
secondary
#A0CD9E
accent
#D55359
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B951BE

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

Preview Lab → · Contrast checker → · Palette generator →

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