#B351B2#B351B2

#B351B2 is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.4% C 0.174 H 327.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#B351B2
RGBrgb(179, 81, 178)
HSLhsl(301, 39%, 51%)
HSVhsv(301, 55%, 70%)
CMYKcmyk(0%, 54.7%, 0.6%, 29.8%)
CIE-LABlab(50.32, 52.95, -33.70)
CIE-LCHlch(50.32, 62.76, 327.52°)
OKLaboklab(59.38% 0.1477 -0.0927)
OKLCHoklch(59.38% 0.174 327.9)
XYZxyz(29.5683, 18.6847, 44.1599)
Luminance0.1868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351B2 #51B352
analogous
#8351B3 #B351B2 #B35181
triadic
#B351B2 #B2B351 #51B2B3
tetradic
#B351B2 #B38351 #51B352 #5181B3
square
#B351B2 #B38351 #51B352 #5181B3
split-complementary
#B351B2 #81B351 #51B383
monochromatic
#602A5F #8A3C8A #B351B2 #C67CC5 #D8A6D8

Accessibility & contrast

On white

4.43
#B351B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#B351B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351B2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351B2#FFFFFF#000000##000000
##B351B21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#486FB5
Deuteranopia (green-blind)
#677CAF
Tritanopia (blue-blind)
#B85C7A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b351b2;
/* rgb */ color: rgb(179, 81, 178);
/* oklch */ color: oklch(59.4% 0.174 327.9);
Tailwind
colors: {
  custom: {
    50: '#cc87c9',
    500: '#b351b2',
    950: '#000000',
  },
}
SCSS
$custom: #b351b2;
$custom-light: #cc87c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b351b2",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 300.612,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59383,
    "c": 0.17432,
    "h": 327.9
  },
  "luminance": 0.18683
}

Semantic roles & 50–950 ramp

primary
#B351B2
secondary
#9AC69B
accent
#CF5A59
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B351B2

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

Preview Lab → · Contrast checker → · Palette generator →

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