#B351BA#B351BA

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

Color values

HEX#B351BA
RGBrgb(179, 81, 186)
HSLhsl(296, 43%, 52%)
HSVhsv(296, 56%, 73%)
CMYKcmyk(3.8%, 56.5%, 0%, 27.1%)
CIE-LABlab(50.71, 54.40, -37.75)
CIE-LCHlch(50.71, 66.21, 325.24°)
OKLaboklab(59.8% 0.1485 -0.1043)
OKLCHoklch(59.8% 0.182 324.9)
XYZxyz(30.3950, 19.0154, 48.5142)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351BA #58BA51
analogous
#7F51BA #B351BA #BA518D
triadic
#B351BA #BAB351 #51BAB3
tetradic
#B351BA #BA7F51 #58BA51 #518DBA
square
#B351BA #BA7F51 #58BA51 #518DBA
split-complementary
#B351BA #8DBA51 #51BA7F
monochromatic
#632968 #8D3A93 #B351BA #C67DCB #D9A9DD

Accessibility & contrast

On white

4.37
#B351BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B351BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351BA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351BA#FFFFFF#000000##000000
##B351BA1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4271BD
Deuteranopia (green-blind)
#637DB7
Tritanopia (blue-blind)
#B75F7E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b351ba;
/* rgb */ color: rgb(179, 81, 186);
/* oklch */ color: oklch(59.8% 0.182 324.9);
Tailwind
colors: {
  custom: {
    50: '#cc87cf',
    500: '#b351ba',
    950: '#000000',
  },
}
SCSS
$custom: #b351ba;
$custom-light: #cc87cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b351ba",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 296,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59795,
    "c": 0.18153,
    "h": 324.9
  },
  "luminance": 0.19014
}

Semantic roles & 50–950 ramp

primary
#B351BA
secondary
#A0CA9D
accent
#D3555D
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B351BA

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

Preview Lab → · Contrast checker → · Palette generator →

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