#B251BB#B251BB

#B251BB is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.7% C 0.182 H 324.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B251BB
RGBrgb(178, 81, 187)
HSLhsl(295, 44%, 53%)
HSVhsv(295, 57%, 73%)
CMYKcmyk(4.8%, 56.7%, 0%, 26.7%)
CIE-LABlab(50.62, 54.32, -38.48)
CIE-LCHlch(50.62, 66.56, 324.69°)
OKLaboklab(59.72% 0.1475 -0.1065)
OKLCHoklch(59.72% 0.182 324.2)
XYZxyz(30.2714, 18.9393, 49.0652)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B251BB #5ABB51
analogous
#7D51BB #B251BB #BB518F
triadic
#B251BB #BBB251 #51BBB2
tetradic
#B251BB #BB7D51 #5ABB51 #518FBB
square
#B251BB #BB7D51 #5ABB51 #518FBB
split-complementary
#B251BB #8FBB51 #51BB7D
monochromatic
#632969 #8D3A95 #B251BB #C57DCC #D9A9DD

Accessibility & contrast

On white

4.39
#B251BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B251BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B251BB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B251BB#FFFFFF#000000##000000
##B251BB1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#627DB8
Tritanopia (blue-blind)
#B55F7E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b251bb;
/* rgb */ color: rgb(178, 81, 187);
/* oklch */ color: oklch(59.7% 0.182 324.2);
Tailwind
colors: {
  custom: {
    50: '#cc87d0',
    500: '#b251bb',
    950: '#000000',
  },
}
SCSS
$custom: #b251bb;
$custom-light: #cc87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b251bb",
  "rgb": {
    "r": 178,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 294.906,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59718,
    "c": 0.1819,
    "h": 324.2
  },
  "luminance": 0.18938
}

Semantic roles & 50–950 ramp

primary
#B251BB
secondary
#A1CB9D
accent
#D4545F
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B251BB

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

Preview Lab → · Contrast checker → · Palette generator →

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