#B351BC#B351BC

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

Color values

HEX#B351BC
RGBrgb(179, 81, 188)
HSLhsl(295, 44%, 53%)
HSVhsv(295, 57%, 74%)
CMYKcmyk(4.8%, 56.9%, 0%, 26.3%)
CIE-LABlab(50.81, 54.77, -38.75)
CIE-LCHlch(50.81, 67.09, 324.72°)
OKLaboklab(59.9% 0.1487 -0.1072)
OKLCHoklch(59.9% 0.183 324.2)
XYZxyz(30.6091, 19.1010, 49.6418)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351BC #5ABC51
analogous
#7D51BC #B351BC #BC5190
triadic
#B351BC #BCB351 #51BCB3
tetradic
#B351BC #BC7D51 #5ABC51 #5190BC
square
#B351BC #BC7D51 #5ABC51 #5190BC
split-complementary
#B351BC #90BC51 #51BC7D
monochromatic
#64296A #8E3A96 #B351BC #C67DCD #DAA9DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B351BC#FFFFFF#000000##000000
##B351BC1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4171BF
Deuteranopia (green-blind)
#627DB9
Tritanopia (blue-blind)
#B65F7F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b351bc;
/* rgb */ color: rgb(179, 81, 188);
/* oklch */ color: oklch(59.9% 0.183 324.2);
Tailwind
colors: {
  custom: {
    50: '#cc87d0',
    500: '#b351bc',
    950: '#000000',
  },
}
SCSS
$custom: #b351bc;
$custom-light: #cc87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b351bc",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 294.953,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59901,
    "c": 0.18335,
    "h": 324.2
  },
  "luminance": 0.19099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B351BC

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

Preview Lab → · Contrast checker → · Palette generator →

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