#B352EC#B352EC

#B352EC is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.9% C 0.228 H 310.4°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B352EC
RGBrgb(179, 82, 236)
HSLhsl(278, 80%, 62%)
HSVhsv(278, 65%, 93%)
CMYKcmyk(24.2%, 65.3%, 0%, 7.5%)
CIE-LABlab(53.68, 63.89, -61.52)
CIE-LCHlch(53.68, 88.70, 316.09°)
OKLaboklab(62.86% 0.1478 -0.1737)
OKLCHoklch(62.86% 0.228 310.4)
XYZxyz(36.7451, 21.6752, 81.5887)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B352EC #8BEC52
analogous
#6652EC #B352EC #EC52D8
triadic
#B352EC #ECB352 #52ECB3
tetradic
#B352EC #EC6652 #8BEC52 #52D8EC
square
#B352EC #EC6652 #8BEC52 #52D8EC
split-complementary
#B352EC #D8EC52 #52EC66
monochromatic
#7613B0 #9B1BE6 #B352EC #CB89F2 #E3C0F8

Accessibility & contrast

On white

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

On black

5.33
#B352EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B352EC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B352EC#FFFFFF#000000##000000
##B352EC1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#3D82E9
Tritanopia (blue-blind)
#AB7298
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b352ec;
/* rgb */ color: rgb(179, 82, 236);
/* oklch */ color: oklch(62.9% 0.228 310.4);
Tailwind
colors: {
  custom: {
    50: '#ce89f3',
    500: '#b352ec',
    950: '#000000',
  },
}
SCSS
$custom: #b352ec;
$custom-light: #ce89f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b352ec",
  "rgb": {
    "r": 179,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 277.792,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.62858,
    "c": 0.22809,
    "h": 310.4
  },
  "luminance": 0.21674
}

Semantic roles & 50–950 ramp

primary
#B352EC
secondary
#C6E9B1
accent
#DD0957
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B352EC

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

Preview Lab → · Contrast checker → · Palette generator →

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