#B356EC#B356EC

#B356EC is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.3% C 0.223 H 310.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B356EC
RGBrgb(179, 86, 236)
HSLhsl(277, 80%, 63%)
HSVhsv(277, 64%, 93%)
CMYKcmyk(24.2%, 63.6%, 0%, 7.5%)
CIE-LABlab(54.34, 62.08, -60.46)
CIE-LCHlch(54.34, 86.65, 315.76°)
OKLaboklab(63.33% 0.1434 -0.1706)
OKLCHoklch(63.33% 0.223 310.1)
XYZxyz(37.0556, 22.2962, 81.6921)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B356EC #8FEC56
analogous
#6856EC #B356EC #EC56DA
triadic
#B356EC #ECB356 #56ECB3
tetradic
#B356EC #EC6856 #8FEC56 #56DAEC
square
#B356EC #EC6856 #8FEC56 #56DAEC
split-complementary
#B356EC #DAEC56 #56EC68
monochromatic
#7714B3 #9A1FE6 #B356EC #CC8DF2 #E4C4F8

Accessibility & contrast

On white

3.85
#B356EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#B356EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B356EC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B356EC#FFFFFF#000000##000000
##B356EC1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#4283E9
Tritanopia (blue-blind)
#AB749A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b356ec;
/* rgb */ color: rgb(179, 86, 236);
/* oklch */ color: oklch(63.3% 0.223 310.1);
Tailwind
colors: {
  custom: {
    50: '#ce8bf3',
    500: '#b356ec',
    950: '#000000',
  },
}
SCSS
$custom: #b356ec;
$custom-light: #ce8bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b356ec",
  "rgb": {
    "r": 179,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 277.2,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63332,
    "c": 0.22287,
    "h": 310.1
  },
  "luminance": 0.22295
}

Semantic roles & 50–950 ramp

primary
#B356EC
secondary
#C8EAB4
accent
#DC0959
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B356EC

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

Preview Lab → · Contrast checker → · Palette generator →

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