#B051BF#B051BF

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

Color values

HEX#B051BF
RGBrgb(176, 81, 191)
HSLhsl(292, 46%, 53%)
HSVhsv(292, 58%, 75%)
CMYKcmyk(7.9%, 57.6%, 0%, 25.1%)
CIE-LABlab(50.54, 54.55, -40.93)
CIE-LCHlch(50.54, 68.19, 323.12°)
OKLaboklab(59.67% 0.1455 -0.1136)
OKLCHoklch(59.67% 0.185 322)
XYZxyz(30.2499, 18.8780, 51.3306)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B051BF #60BF51
analogous
#7951BF #B051BF #BF5197
triadic
#B051BF #BFB051 #51BFB0
tetradic
#B051BF #BF7951 #60BF51 #5197BF
square
#B051BF #BF7951 #60BF51 #5197BF
split-complementary
#B051BF #97BF51 #51BF79
monochromatic
#64286D #8D399A #B051BF #C47ECF #D9AAE0

Accessibility & contrast

On white

4.40
#B051BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B051BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B051BF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B051BF#FFFFFF#000000##000000
##B051BF1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D71C2
Deuteranopia (green-blind)
#5E7CBC
Tritanopia (blue-blind)
#B26180
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b051bf;
/* rgb */ color: rgb(176, 81, 191);
/* oklch */ color: oklch(59.7% 0.185 322.0);
Tailwind
colors: {
  custom: {
    50: '#ca87d3',
    500: '#b051bf',
    950: '#000000',
  },
}
SCSS
$custom: #b051bf;
$custom-light: #ca87d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b051bf",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 291.818,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59674,
    "c": 0.18458,
    "h": 322
  },
  "luminance": 0.18877
}

Semantic roles & 50–950 ramp

primary
#B051BF
secondary
#A5CE9E
accent
#D65264
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B051BF

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

Preview Lab → · Contrast checker → · Palette generator →

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