#B352CD#B352CD

#B352CD is a mid, vivid purple. Relative luminance 0.200; OKLCH L 61.0% C 0.198 H 318.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B352CD
RGBrgb(179, 82, 205)
HSLhsl(287, 55%, 56%)
HSVhsv(287, 60%, 80%)
CMYKcmyk(12.7%, 60%, 0%, 19.6%)
CIE-LABlab(51.87, 57.55, -46.86)
CIE-LCHlch(51.87, 74.22, 320.85°)
OKLaboklab(60.97% 0.1485 -0.1308)
OKLCHoklch(60.97% 0.198 318.6)
XYZxyz(32.6257, 20.0274, 59.8929)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B352CD #6CCD52
analogous
#7652CD #B352CD #CD52AA
triadic
#B352CD #CDB352 #52CDB3
tetradic
#B352CD #CD7652 #6CCD52 #52AACD
square
#B352CD #CD7652 #6CCD52 #52AACD
split-complementary
#B352CD #AACD52 #52CD76
monochromatic
#6D2580 #9533AF #B352CD #C881DB #DDB1E8

Accessibility & contrast

On white

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

On black

5.01
#B352CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B352CD
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B352CD#FFFFFF#000000##000000
##B352CD1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3275D1
Deuteranopia (green-blind)
#597FCA
Tritanopia (blue-blind)
#B36688
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b352cd;
/* rgb */ color: rgb(179, 82, 205);
/* oklch */ color: oklch(61.0% 0.198 318.6);
Tailwind
colors: {
  custom: {
    50: '#cd88dd',
    500: '#b352cd',
    950: '#000000',
  },
}
SCSS
$custom: #b352cd;
$custom-light: #cd88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b352cd",
  "rgb": {
    "r": 179,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 287.317,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60965,
    "c": 0.19788,
    "h": 318.6
  },
  "luminance": 0.20026
}

Semantic roles & 50–950 ramp

primary
#B352CD
secondary
#AFD7A4
accent
#DE4969
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B352CD

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

Preview Lab → · Contrast checker → · Palette generator →

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