#B351A8#B351A8

#B351A8 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 58.9% C 0.166 H 331.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B351A8
RGBrgb(179, 81, 168)
HSLhsl(307, 39%, 51%)
HSVhsv(307, 55%, 70%)
CMYKcmyk(0%, 54.7%, 6.1%, 29.8%)
CIE-LABlab(49.86, 51.20, -28.57)
CIE-LCHlch(49.86, 58.63, 330.84°)
OKLaboklab(58.89% 0.1462 -0.078)
OKLCHoklch(58.89% 0.166 331.9)
XYZxyz(28.6006, 18.2976, 39.0636)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351A8 #51B35C
analogous
#8D51B3 #B351A8 #B35177
triadic
#B351A8 #A8B351 #51A8B3
tetradic
#B351A8 #B38D51 #51B35C #5177B3
square
#B351A8 #B38D51 #51B35C #5177B3
split-complementary
#B351A8 #77B351 #51B38D
monochromatic
#602A5A #8A3C82 #B351A8 #C67CBD #D8A6D3

Accessibility & contrast

On white

4.51
#B351A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B351A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351A8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351A8#FFFFFF#000000##000000
##B351A81.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6EAB
Deuteranopia (green-blind)
#6B7CA5
Tritanopia (blue-blind)
#BA5975
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b351a8;
/* rgb */ color: rgb(179, 81, 168);
/* oklch */ color: oklch(58.9% 0.166 331.9);
Tailwind
colors: {
  custom: {
    50: '#cc86c2',
    500: '#b351a8',
    950: '#000000',
  },
}
SCSS
$custom: #b351a8;
$custom-light: #cc86c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b351a8",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 168
  },
  "hsl": {
    "h": 306.735,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58894,
    "c": 0.16567,
    "h": 331.9
  },
  "luminance": 0.18296
}

Semantic roles & 50–950 ramp

primary
#B351A8
secondary
#9AC69F
accent
#CF6659
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140C12
muted
#827D81

Preview Lab

Preview with #B351A8

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

Preview Lab → · Contrast checker → · Palette generator →

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