#B352E2#B352E2

#B352E2 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.2% C 0.218 H 312.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B352E2
RGBrgb(179, 82, 226)
HSLhsl(280, 71%, 60%)
HSVhsv(280, 64%, 89%)
CMYKcmyk(20.8%, 63.7%, 0%, 11.4%)
CIE-LABlab(53.07, 61.80, -56.87)
CIE-LCHlch(53.07, 83.99, 317.38°)
OKLaboklab(62.22% 0.1484 -0.1601)
OKLCHoklch(62.22% 0.218 312.8)
XYZxyz(35.3328, 21.1103, 74.1502)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B352E2 #81E252
analogous
#6B52E2 #B352E2 #E252C9
triadic
#B352E2 #E2B352 #52E2B3
tetradic
#B352E2 #E26B52 #81E252 #52C9E2
square
#B352E2 #E26B52 #81E252 #52C9E2
split-complementary
#B352E2 #C9E252 #52E26B
monochromatic
#741B9F #9A23D3 #B352E2 #CA86EB #E1BBF4

Accessibility & contrast

On white

4.02
#B352E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#B352E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B352E2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B352E2#FFFFFF#000000##000000
##B352E21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#057AE6
Deuteranopia (green-blind)
#4881DF
Tritanopia (blue-blind)
#AE6E93
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b352e2;
/* rgb */ color: rgb(179, 82, 226);
/* oklch */ color: oklch(62.2% 0.218 312.8);
Tailwind
colors: {
  custom: {
    50: '#cd88ec',
    500: '#b352e2',
    950: '#000000',
  },
}
SCSS
$custom: #b352e2;
$custom-light: #cd88ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b352e2",
  "rgb": {
    "r": 179,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 280.417,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62222,
    "c": 0.21827,
    "h": 312.8
  },
  "luminance": 0.21109
}

Semantic roles & 50–950 ramp

primary
#B352E2
secondary
#BEE3AC
accent
#D31251
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B352E2

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

Preview Lab → · Contrast checker → · Palette generator →

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