#B352CF#B352CF

#B352CF is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.1% C 0.200 H 318.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B352CF
RGBrgb(179, 82, 207)
HSLhsl(287, 57%, 57%)
HSVhsv(287, 60%, 81%)
CMYKcmyk(13.5%, 60.4%, 0%, 18.8%)
CIE-LABlab(51.98, 57.95, -47.83)
CIE-LCHlch(51.98, 75.13, 320.47°)
OKLaboklab(61.08% 0.1485 -0.1336)
OKLCHoklch(61.08% 0.2 318)
XYZxyz(32.8686, 20.1246, 61.1725)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B352CF #6ECF52
analogous
#7552CF #B352CF #CF52AD
triadic
#B352CF #CFB352 #52CFB3
tetradic
#B352CF #CF7552 #6ECF52 #52ADCF
square
#B352CF #CF7552 #6ECF52 #52ADCF
split-complementary
#B352CF #ADCF52 #52CF75
monochromatic
#6D2482 #9531B2 #B352CF #C882DC #DDB2EA

Accessibility & contrast

On white

4.18
#B352CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B352CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B352CF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B352CF#FFFFFF#000000##000000
##B352CF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3076D3
Deuteranopia (green-blind)
#577FCC
Tritanopia (blue-blind)
#B26789
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b352cf;
/* rgb */ color: rgb(179, 82, 207);
/* oklch */ color: oklch(61.1% 0.200 318.0);
Tailwind
colors: {
  custom: {
    50: '#cd88de',
    500: '#b352cf',
    950: '#000000',
  },
}
SCSS
$custom: #b352cf;
$custom-light: #cd88de;
$custom-dark: #000000;
JSON
{
  "hex": "#b352cf",
  "rgb": {
    "r": 179,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 286.56,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6108,
    "c": 0.19979,
    "h": 318
  },
  "luminance": 0.20123
}

Semantic roles & 50–950 ramp

primary
#B352CF
secondary
#B0D8A5
accent
#E0486A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B352CF

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

Preview Lab → · Contrast checker → · Palette generator →

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