#B951B3#B951B3

#B951B3 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.2% C 0.179 H 329.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B951B3
RGBrgb(185, 81, 179)
HSLhsl(303, 43%, 52%)
HSVhsv(303, 56%, 73%)
CMYKcmyk(0%, 56.2%, 3.2%, 27.5%)
CIE-LABlab(51.22, 54.77, -32.82)
CIE-LCHlch(51.22, 63.85, 329.07°)
OKLaboklab(60.23% 0.1546 -0.09)
OKLCHoklch(60.23% 0.179 329.8)
XYZxyz(31.0864, 19.4558, 44.7571)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951B3 #51B957
analogous
#8B51B9 #B951B3 #B9517F
triadic
#B951B3 #B3B951 #51B3B9
tetradic
#B951B3 #B98B51 #51B957 #517FB9
square
#B951B3 #B98B51 #51B957 #517FB9
split-complementary
#B951B3 #7FB951 #51B98B
monochromatic
#662963 #923B8D #B951B3 #CB7DC6 #DCA8D9

Accessibility & contrast

On white

4.29
#B951B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#B951B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951B3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951B3#FFFFFF#000000##000000
##B951B31.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B6
Deuteranopia (green-blind)
#6B7FB0
Tritanopia (blue-blind)
#BF5B7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b951b3;
/* rgb */ color: rgb(185, 81, 179);
/* oklch */ color: oklch(60.2% 0.179 329.8);
Tailwind
colors: {
  custom: {
    50: '#d187ca',
    500: '#b951b3',
    950: '#000000',
  },
}
SCSS
$custom: #b951b3;
$custom-light: #d187ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b951b3",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 303.462,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60234,
    "c": 0.17887,
    "h": 329.8
  },
  "luminance": 0.19454
}

Semantic roles & 50–950 ramp

primary
#B951B3
secondary
#9CCA9F
accent
#D25D55
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B951B3

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

Preview Lab → · Contrast checker → · Palette generator →

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