#B351BB#B351BB

#B351BB is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.8% C 0.182 H 324.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B351BB
RGBrgb(179, 81, 187)
HSLhsl(295, 44%, 53%)
HSVhsv(295, 57%, 73%)
CMYKcmyk(4.3%, 56.7%, 0%, 26.7%)
CIE-LABlab(50.76, 54.58, -38.25)
CIE-LCHlch(50.76, 66.65, 324.98°)
OKLaboklab(59.85% 0.1486 -0.1058)
OKLCHoklch(59.85% 0.182 324.6)
XYZxyz(30.5017, 19.0581, 49.0760)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351BB #59BB51
analogous
#7E51BB #B351BB #BB518E
triadic
#B351BB #BBB351 #51BBB3
tetradic
#B351BB #BB7E51 #59BB51 #518EBB
square
#B351BB #BB7E51 #59BB51 #518EBB
split-complementary
#B351BB #8EBB51 #51BB7E
monochromatic
#642969 #8E3A95 #B351BB #C67DCC #D9A9DD

Accessibility & contrast

On white

4.36
#B351BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B351BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351BB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351BB#FFFFFF#000000##000000
##B351BB1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b351bb;
/* rgb */ color: rgb(179, 81, 187);
/* oklch */ color: oklch(59.8% 0.182 324.6);
Tailwind
colors: {
  custom: {
    50: '#cc87d0',
    500: '#b351bb',
    950: '#000000',
  },
}
SCSS
$custom: #b351bb;
$custom-light: #cc87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b351bb",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 295.472,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59848,
    "c": 0.18244,
    "h": 324.6
  },
  "luminance": 0.19056
}

Semantic roles & 50–950 ramp

primary
#B351BB
secondary
#A0CB9D
accent
#D4545E
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B351BB

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

Preview Lab → · Contrast checker → · Palette generator →

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