#B351A7#B351A7

#B351A7 is a mid, vivid purple. Relative luminance 0.183; OKLCH L 58.8% C 0.165 H 332.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B351A7
RGBrgb(179, 81, 167)
HSLhsl(307, 39%, 51%)
HSVhsv(307, 55%, 70%)
CMYKcmyk(0%, 54.7%, 6.7%, 29.8%)
CIE-LABlab(49.81, 51.03, -28.05)
CIE-LCHlch(49.81, 58.23, 331.20°)
OKLaboklab(58.85% 0.146 -0.0765)
OKLCHoklch(58.85% 0.165 332.3)
XYZxyz(28.5078, 18.2605, 38.5748)
Luminance0.1826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351A7 #51B35D
analogous
#8E51B3 #B351A7 #B35176
triadic
#B351A7 #A7B351 #51A7B3
tetradic
#B351A7 #B38E51 #51B35D #5176B3
square
#B351A7 #B38E51 #51B35D #5176B3
split-complementary
#B351A7 #76B351 #51B38E
monochromatic
#602A59 #8A3C81 #B351A7 #C67CBD #D8A6D2

Accessibility & contrast

On white

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

On black

4.65
#B351A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351A7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351A7#FFFFFF#000000##000000
##B351A71.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6EAA
Deuteranopia (green-blind)
#6B7CA4
Tritanopia (blue-blind)
#BA5875
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #b351a7;
/* rgb */ color: rgb(179, 81, 167);
/* oklch */ color: oklch(58.8% 0.165 332.3);
Tailwind
colors: {
  custom: {
    50: '#cc86c1',
    500: '#b351a7',
    950: '#000000',
  },
}
SCSS
$custom: #b351a7;
$custom-light: #cc86c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b351a7",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 307.347,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58846,
    "c": 0.16482,
    "h": 332.3
  },
  "luminance": 0.18259
}

Semantic roles & 50–950 ramp

primary
#B351A7
secondary
#9AC6A0
accent
#CF6759
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140C12
muted
#827D81

Preview Lab

Preview with #B351A7

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

Preview Lab → · Contrast checker → · Palette generator →

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