#B352FF#B352FF

#B352FF is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 64.1% C 0.247 H 306.3°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B352FF
RGBrgb(179, 82, 255)
HSLhsl(274, 100%, 66%)
HSVhsv(274, 68%, 100%)
CMYKcmyk(29.8%, 67.8%, 0%, 0%)
CIE-LABlab(54.91, 67.98, -70.13)
CIE-LCHlch(54.91, 97.67, 314.11°)
OKLaboklab(64.13% 0.146 -0.199)
OKLCHoklch(64.13% 0.247 306.3)
XYZxyz(39.6538, 22.8387, 96.9077)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B352FF #9EFF52
analogous
#5C52FF #B352FF #FF52F4
triadic
#B352FF #FFB352 #52FFB3
tetradic
#B352FF #FF5C52 #9EFF52 #52F4FF
square
#B352FF #FF5C52 #9EFF52 #52F4FF
split-complementary
#B352FF #F4FF52 #52FF5C
monochromatic
#7800D7 #9815FF #B352FF #CE8FFF #E9CCFF

Accessibility & contrast

On white

3.77
#B352FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B352FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B352FF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B352FF#FFFFFF#000000##000000
##B352FF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#1A84FB
Tritanopia (blue-blind)
#A679A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b352ff;
/* rgb */ color: rgb(179, 82, 255);
/* oklch */ color: oklch(64.1% 0.247 306.3);
Tailwind
colors: {
  custom: {
    50: '#cf89ff',
    500: '#b352ff',
    950: '#000000',
  },
}
SCSS
$custom: #b352ff;
$custom-light: #cf89ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b352ff",
  "rgb": {
    "r": 179,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 273.642,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64125,
    "c": 0.24681,
    "h": 306.3
  },
  "luminance": 0.22838
}

Semantic roles & 50–950 ramp

primary
#B352FF
secondary
#D3F3BA
accent
#E60065
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B352FF

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

Preview Lab → · Contrast checker → · Palette generator →

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