#B352CC#B352CC

#B352CC is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.9% C 0.197 H 318.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B352CC
RGBrgb(179, 82, 204)
HSLhsl(288, 54%, 56%)
HSVhsv(288, 60%, 80%)
CMYKcmyk(12.3%, 59.8%, 0%, 20%)
CIE-LABlab(51.81, 57.36, -46.37)
CIE-LCHlch(51.81, 73.76, 321.05°)
OKLaboklab(60.91% 0.1485 -0.1294)
OKLCHoklch(60.91% 0.197 318.9)
XYZxyz(32.5053, 19.9793, 59.2592)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B352CC #6BCC52
analogous
#7652CC #B352CC #CC52A8
triadic
#B352CC #CCB352 #52CCB3
tetradic
#B352CC #CC7652 #6BCC52 #52A8CC
square
#B352CC #CC7652 #6BCC52 #52A8CC
split-complementary
#B352CC #A8CC52 #52CC76
monochromatic
#6C257E #9533AE #B352CC #C881DA #DDB1E8

Accessibility & contrast

On white

4.20
#B352CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B352CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B352CC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B352CC#FFFFFF#000000##000000
##B352CC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3475D0
Deuteranopia (green-blind)
#597FC9
Tritanopia (blue-blind)
#B36687
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b352cc;
/* rgb */ color: rgb(179, 82, 204);
/* oklch */ color: oklch(60.9% 0.197 318.9);
Tailwind
colors: {
  custom: {
    50: '#cd88dc',
    500: '#b352cc',
    950: '#000000',
  },
}
SCSS
$custom: #b352cc;
$custom-light: #cd88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b352cc",
  "rgb": {
    "r": 179,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 287.705,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60908,
    "c": 0.19691,
    "h": 318.9
  },
  "luminance": 0.19978
}

Semantic roles & 50–950 ramp

primary
#B352CC
secondary
#AED6A4
accent
#DE4A68
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B352CC

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

Preview Lab → · Contrast checker → · Palette generator →

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