#B251BC#B251BC

#B251BC is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.8% C 0.183 H 323.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B251BC
RGBrgb(178, 81, 188)
HSLhsl(294, 44%, 53%)
HSVhsv(294, 57%, 74%)
CMYKcmyk(5.3%, 56.9%, 0%, 26.3%)
CIE-LABlab(50.67, 54.50, -38.98)
CIE-LCHlch(50.67, 67.01, 324.43°)
OKLaboklab(59.77% 0.1476 -0.1079)
OKLCHoklch(59.77% 0.183 323.8)
XYZxyz(30.3788, 18.9823, 49.6310)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B251BC #5BBC51
analogous
#7D51BC #B251BC #BC5190
triadic
#B251BC #BCB251 #51BCB2
tetradic
#B251BC #BC7D51 #5BBC51 #5190BC
square
#B251BC #BC7D51 #5BBC51 #5190BC
split-complementary
#B251BC #90BC51 #51BC7D
monochromatic
#64296A #8D3A96 #B251BC #C67DCD #D9A9DE

Accessibility & contrast

On white

4.38
#B251BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B251BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B251BC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B251BC#FFFFFF#000000##000000
##B251BC1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4071BF
Deuteranopia (green-blind)
#617DB9
Tritanopia (blue-blind)
#B5607F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b251bc;
/* rgb */ color: rgb(178, 81, 188);
/* oklch */ color: oklch(59.8% 0.183 323.8);
Tailwind
colors: {
  custom: {
    50: '#cc87d0',
    500: '#b251bc',
    950: '#000000',
  },
}
SCSS
$custom: #b251bc;
$custom-light: #cc87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b251bc",
  "rgb": {
    "r": 178,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 294.393,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59771,
    "c": 0.18282,
    "h": 323.8
  },
  "luminance": 0.18981
}

Semantic roles & 50–950 ramp

primary
#B251BC
secondary
#A2CC9D
accent
#D45460
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B251BC

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

Preview Lab → · Contrast checker → · Palette generator →

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