#B352B2#B352B2

#B352B2 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.5% C 0.173 H 327.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#B352B2
RGBrgb(179, 82, 178)
HSLhsl(301, 39%, 51%)
HSVhsv(301, 54%, 70%)
CMYKcmyk(0%, 54.2%, 0.6%, 29.8%)
CIE-LABlab(50.49, 52.47, -33.43)
CIE-LCHlch(50.49, 62.21, 327.50°)
OKLaboklab(59.51% 0.1463 -0.0919)
OKLCHoklch(59.51% 0.173 327.9)
XYZxyz(29.6431, 18.8344, 44.1849)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B352B2 #52B353
analogous
#8352B3 #B352B2 #B35281
triadic
#B352B2 #B2B352 #52B2B3
tetradic
#B352B2 #B38352 #52B353 #5281B3
square
#B352B2 #B38352 #52B353 #5281B3
split-complementary
#B352B2 #81B352 #52B383
monochromatic
#602A60 #8B3D8A #B352B2 #C67DC5 #D8A7D8

Accessibility & contrast

On white

4.41
#B352B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#B352B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B352B2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B352B2#FFFFFF#000000##000000
##B352B21.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#677DAF
Tritanopia (blue-blind)
#B85D7A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b352b2;
/* rgb */ color: rgb(179, 82, 178);
/* oklch */ color: oklch(59.5% 0.173 327.9);
Tailwind
colors: {
  custom: {
    50: '#cc87c9',
    500: '#b352b2',
    950: '#000000',
  },
}
SCSS
$custom: #b352b2;
$custom-light: #cc87c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b352b2",
  "rgb": {
    "r": 179,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 300.619,
    "s": 38.956,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59513,
    "c": 0.17276,
    "h": 327.9
  },
  "luminance": 0.18833
}

Semantic roles & 50–950 ramp

primary
#B352B2
secondary
#9BC69B
accent
#CF5A59
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B352B2

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

Preview Lab → · Contrast checker → · Palette generator →

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