#B352FD#B352FD

#B352FD is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 64.0% C 0.245 H 306.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B352FD
RGBrgb(179, 82, 253)
HSLhsl(274, 98%, 66%)
HSVhsv(274, 68%, 99%)
CMYKcmyk(29.2%, 67.6%, 0%, 0.8%)
CIE-LABlab(54.77, 67.55, -69.24)
CIE-LCHlch(54.77, 96.73, 314.29°)
OKLaboklab(63.99% 0.1462 -0.1964)
OKLCHoklch(63.99% 0.245 306.7)
XYZxyz(39.3335, 22.7106, 95.2209)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B352FD #9CFD52
analogous
#5D52FD #B352FD #FD52F1
triadic
#B352FD #FDB352 #52FDB3
tetradic
#B352FD #FD5D52 #9CFD52 #52F1FD
square
#B352FD #FD5D52 #9CFD52 #52F1FD
split-complementary
#B352FD #F1FD52 #52FD5D
monochromatic
#7802D2 #9815FC #B352FD #CE8EFE #E8CBFE

Accessibility & contrast

On white

3.79
#B352FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B352FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B352FD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B352FD#FFFFFF#000000##000000
##B352FD1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#2084F9
Tritanopia (blue-blind)
#A778A2
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b352fd;
/* rgb */ color: rgb(179, 82, 253);
/* oklch */ color: oklch(64.0% 0.245 306.7);
Tailwind
colors: {
  custom: {
    50: '#cf89ff',
    500: '#b352fd',
    950: '#000000',
  },
}
SCSS
$custom: #b352fd;
$custom-light: #cf89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b352fd",
  "rgb": {
    "r": 179,
    "g": 82,
    "b": 253
  },
  "hsl": {
    "h": 274.035,
    "s": 97.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63988,
    "c": 0.24483,
    "h": 306.7
  },
  "luminance": 0.2271
}

Semantic roles & 50–950 ramp

primary
#B352FD
secondary
#D2F2B9
accent
#E60063
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B352FD

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

Preview Lab → · Contrast checker → · Palette generator →

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