#B352AF#B352AF

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

Color values

HEX#B352AF
RGBrgb(179, 82, 175)
HSLhsl(302, 39%, 51%)
HSVhsv(302, 54%, 70%)
CMYKcmyk(0%, 54.2%, 2.2%, 29.8%)
CIE-LABlab(50.35, 51.94, -31.90)
CIE-LCHlch(50.35, 60.95, 328.44°)
OKLaboklab(59.36% 0.1459 -0.0875)
OKLCHoklch(59.36% 0.17 329)
XYZxyz(29.3452, 18.7152, 42.6159)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B352AF #52B356
analogous
#8652B3 #B352AF #B3527E
triadic
#B352AF #AFB352 #52AFB3
tetradic
#B352AF #B38652 #52B356 #527EB3
square
#B352AF #B38652 #52B356 #527EB3
split-complementary
#B352AF #7EB352 #52B386
monochromatic
#602A5E #8B3D88 #B352AF #C67DC3 #D8A7D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B352AF#FFFFFF#000000##000000
##B352AF1.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)
#4B70B2
Deuteranopia (green-blind)
#697DAC
Tritanopia (blue-blind)
#B95C79
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b352af;
/* rgb */ color: rgb(179, 82, 175);
/* oklch */ color: oklch(59.4% 0.170 329.0);
Tailwind
colors: {
  custom: {
    50: '#cc87c7',
    500: '#b352af',
    950: '#000000',
  },
}
SCSS
$custom: #b352af;
$custom-light: #cc87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b352af",
  "rgb": {
    "r": 179,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 302.474,
    "s": 38.956,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59364,
    "c": 0.17011,
    "h": 329
  },
  "luminance": 0.18713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B352AF

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

Preview Lab → · Contrast checker → · Palette generator →

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