#B351AF#B351AF

#B351AF is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.2% C 0.172 H 329.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B351AF
RGBrgb(179, 81, 175)
HSLhsl(302, 39%, 51%)
HSVhsv(302, 55%, 70%)
CMYKcmyk(0%, 54.7%, 2.2%, 29.8%)
CIE-LABlab(50.17, 52.41, -32.17)
CIE-LCHlch(50.17, 61.50, 328.46°)
OKLaboklab(59.23% 0.1473 -0.0883)
OKLCHoklch(59.23% 0.172 329.1)
XYZxyz(29.2704, 18.5655, 42.5909)
Luminance0.1856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351AF #51B355
analogous
#8651B3 #B351AF #B3517E
triadic
#B351AF #AFB351 #51AFB3
tetradic
#B351AF #B38651 #51B355 #517EB3
square
#B351AF #B38651 #51B355 #517EB3
split-complementary
#B351AF #7EB351 #51B386
monochromatic
#602A5E #8A3C87 #B351AF #C67CC3 #D8A6D6

Accessibility & contrast

On white

4.46
#B351AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B351AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351AF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351AF#FFFFFF#000000##000000
##B351AF1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#496FB2
Deuteranopia (green-blind)
#687CAC
Tritanopia (blue-blind)
#B95B78
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b351af;
/* rgb */ color: rgb(179, 81, 175);
/* oklch */ color: oklch(59.2% 0.172 329.1);
Tailwind
colors: {
  custom: {
    50: '#cc87c7',
    500: '#b351af',
    950: '#000000',
  },
}
SCSS
$custom: #b351af;
$custom-light: #cc87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b351af",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 302.449,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59233,
    "c": 0.17169,
    "h": 329.1
  },
  "luminance": 0.18564
}

Semantic roles & 50–950 ramp

primary
#B351AF
secondary
#9AC69C
accent
#CF5E59
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B351AF

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

Preview Lab → · Contrast checker → · Palette generator →

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