#B352EB#B352EB

#B352EB is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.8% C 0.227 H 310.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B352EB
RGBrgb(179, 82, 235)
HSLhsl(278, 79%, 62%)
HSVhsv(278, 65%, 92%)
CMYKcmyk(23.8%, 65.1%, 0%, 7.8%)
CIE-LABlab(53.62, 63.68, -61.06)
CIE-LCHlch(53.62, 88.22, 316.21°)
OKLaboklab(62.79% 0.1479 -0.1723)
OKLCHoklch(62.79% 0.227 310.6)
XYZxyz(36.6002, 21.6173, 80.8256)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B352EB #8AEB52
analogous
#6652EB #B352EB #EB52D7
triadic
#B352EB #EBB352 #52EBB3
tetradic
#B352EB #EB6652 #8AEB52 #52D7EB
square
#B352EB #EB6652 #8AEB52 #52D7EB
split-complementary
#B352EB #D7EB52 #52EB66
monochromatic
#7614AE #9B1BE5 #B352EB #CB89F1 #E3C0F8

Accessibility & contrast

On white

3.94
#B352EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#B352EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B352EB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B352EB#FFFFFF#000000##000000
##B352EB1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#3E82E8
Tritanopia (blue-blind)
#AC7198
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b352eb;
/* rgb */ color: rgb(179, 82, 235);
/* oklch */ color: oklch(62.8% 0.227 310.6);
Tailwind
colors: {
  custom: {
    50: '#ce89f2',
    500: '#b352eb',
    950: '#000000',
  },
}
SCSS
$custom: #b352eb;
$custom-light: #ce89f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b352eb",
  "rgb": {
    "r": 179,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 278.039,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.62793,
    "c": 0.22711,
    "h": 310.6
  },
  "luminance": 0.21616
}

Semantic roles & 50–950 ramp

primary
#B352EB
secondary
#C5E8B0
accent
#DC0A57
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B352EB

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

Preview Lab → · Contrast checker → · Palette generator →

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