#B352E4#B352E4

#B352E4 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.3% C 0.220 H 312.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B352E4
RGBrgb(179, 82, 228)
HSLhsl(280, 73%, 61%)
HSVhsv(280, 64%, 89%)
CMYKcmyk(21.5%, 64%, 0%, 10.6%)
CIE-LABlab(53.19, 62.21, -57.81)
CIE-LCHlch(53.19, 84.93, 317.10°)
OKLaboklab(62.35% 0.1483 -0.1628)
OKLCHoklch(62.35% 0.22 312.3)
XYZxyz(35.6088, 21.2207, 75.6039)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B352E4 #83E452
analogous
#6A52E4 #B352E4 #E452CC
triadic
#B352E4 #E4B352 #52E4B3
tetradic
#B352E4 #E46A52 #83E452 #52CCE4
square
#B352E4 #E46A52 #83E452 #52CCE4
split-complementary
#B352E4 #CCE452 #52E46A
monochromatic
#7419A2 #9A22D7 #B352E4 #CA87EC #E2BCF5

Accessibility & contrast

On white

4.00
#B352E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#B352E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B352E4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B352E4#FFFFFF#000000##000000
##B352E41.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#4681E1
Tritanopia (blue-blind)
#AE6F94
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b352e4;
/* rgb */ color: rgb(179, 82, 228);
/* oklch */ color: oklch(62.3% 0.220 312.3);
Tailwind
colors: {
  custom: {
    50: '#ce89ed',
    500: '#b352e4',
    950: '#000000',
  },
}
SCSS
$custom: #b352e4;
$custom-light: #ce89ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b352e4",
  "rgb": {
    "r": 179,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 279.863,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62348,
    "c": 0.22023,
    "h": 312.3
  },
  "luminance": 0.2122
}

Semantic roles & 50–950 ramp

primary
#B352E4
secondary
#C0E5AD
accent
#D51052
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B352E4

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

Preview Lab → · Contrast checker → · Palette generator →

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