#B352CB#B352CB

#B352CB is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.9% C 0.196 H 319.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B352CB
RGBrgb(179, 82, 203)
HSLhsl(288, 54%, 56%)
HSVhsv(288, 60%, 80%)
CMYKcmyk(11.8%, 59.6%, 0%, 20.4%)
CIE-LABlab(51.76, 57.16, -45.88)
CIE-LCHlch(51.76, 73.30, 321.25°)
OKLaboklab(60.85% 0.1484 -0.1279)
OKLCHoklch(60.85% 0.196 319.2)
XYZxyz(32.3858, 19.9315, 58.6296)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B352CB #6ACB52
analogous
#7652CB #B352CB #CB52A6
triadic
#B352CB #CBB352 #52CBB3
tetradic
#B352CB #CB7652 #6ACB52 #52A6CB
square
#B352CB #CB7652 #6ACB52 #52A6CB
split-complementary
#B352CB #A6CB52 #52CB76
monochromatic
#6C267D #9434AC #B352CB #C881D9 #DCB0E7

Accessibility & contrast

On white

4.21
#B352CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B352CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B352CB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B352CB#FFFFFF#000000##000000
##B352CB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3575CF
Deuteranopia (green-blind)
#5A7FC8
Tritanopia (blue-blind)
#B36587
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b352cb;
/* rgb */ color: rgb(179, 82, 203);
/* oklch */ color: oklch(60.9% 0.196 319.2);
Tailwind
colors: {
  custom: {
    50: '#cd88db',
    500: '#b352cb',
    950: '#000000',
  },
}
SCSS
$custom: #b352cb;
$custom-light: #cd88db;
$custom-dark: #000000;
JSON
{
  "hex": "#b352cb",
  "rgb": {
    "r": 179,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 288.099,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60851,
    "c": 0.19596,
    "h": 319.2
  },
  "luminance": 0.1993
}

Semantic roles & 50–950 ramp

primary
#B352CB
secondary
#ADD5A3
accent
#DD4B68
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B352CB

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

Preview Lab → · Contrast checker → · Palette generator →

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