#B251BF#B251BF

#B251BF is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.9% C 0.186 H 322.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B251BF
RGBrgb(178, 81, 191)
HSLhsl(293, 46%, 53%)
HSVhsv(293, 58%, 75%)
CMYKcmyk(6.8%, 57.6%, 0%, 25.1%)
CIE-LABlab(50.82, 55.07, -40.47)
CIE-LCHlch(50.82, 68.34, 323.69°)
OKLaboklab(59.93% 0.1478 -0.1122)
OKLCHoklch(59.93% 0.186 322.8)
XYZxyz(30.7056, 19.1130, 51.3519)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B251BF #5EBF51
analogous
#7B51BF #B251BF #BF5195
triadic
#B251BF #BFB251 #51BFB2
tetradic
#B251BF #BF7B51 #5EBF51 #5195BF
square
#B251BF #BF7B51 #5EBF51 #5195BF
split-complementary
#B251BF #95BF51 #51BF7B
monochromatic
#65286D #8F399A #B251BF #C67ECF #DAAAE0

Accessibility & contrast

On white

4.35
#B251BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B251BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B251BF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B251BF#FFFFFF#000000##000000
##B251BF1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C2
Deuteranopia (green-blind)
#5F7DBC
Tritanopia (blue-blind)
#B56180
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b251bf;
/* rgb */ color: rgb(178, 81, 191);
/* oklch */ color: oklch(59.9% 0.186 322.8);
Tailwind
colors: {
  custom: {
    50: '#cc87d3',
    500: '#b251bf',
    950: '#000000',
  },
}
SCSS
$custom: #b251bf;
$custom-light: #cc87d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b251bf",
  "rgb": {
    "r": 178,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 292.909,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59932,
    "c": 0.1856,
    "h": 322.8
  },
  "luminance": 0.19111
}

Semantic roles & 50–950 ramp

primary
#B251BF
secondary
#A4CE9E
accent
#D65262
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B251BF

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

Preview Lab → · Contrast checker → · Palette generator →

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