#B357EC#B357EC

#B357EC is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.5% C 0.222 H 310.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B357EC
RGBrgb(179, 87, 236)
HSLhsl(277, 80%, 63%)
HSVhsv(277, 63%, 93%)
CMYKcmyk(24.2%, 63.1%, 0%, 7.5%)
CIE-LABlab(54.51, 61.61, -60.19)
CIE-LCHlch(54.51, 86.13, 315.67°)
OKLaboklab(63.45% 0.1423 -0.1698)
OKLCHoklch(63.45% 0.222 310)
XYZxyz(37.1360, 22.4570, 81.7189)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B357EC #90EC57
analogous
#6857EC #B357EC #EC57DA
triadic
#B357EC #ECB357 #57ECB3
tetradic
#B357EC #EC6857 #90EC57 #57DAEC
square
#B357EC #EC6857 #90EC57 #57DAEC
split-complementary
#B357EC #DAEC57 #57EC68
monochromatic
#7714B4 #9A20E6 #B357EC #CC8EF2 #E5C5F8

Accessibility & contrast

On white

3.82
#B357EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#B357EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B357EC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B357EC#FFFFFF#000000##000000
##B357EC1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b357ec;
/* rgb */ color: rgb(179, 87, 236);
/* oklch */ color: oklch(63.5% 0.222 310.0);
Tailwind
colors: {
  custom: {
    50: '#ce8cf3',
    500: '#b357ec',
    950: '#000000',
  },
}
SCSS
$custom: #b357ec;
$custom-light: #ce8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b357ec",
  "rgb": {
    "r": 179,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 277.047,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63454,
    "c": 0.22154,
    "h": 310
  },
  "luminance": 0.22456
}

Semantic roles & 50–950 ramp

primary
#B357EC
secondary
#C9EAB5
accent
#DC0A5A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B357EC

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

Preview Lab → · Contrast checker → · Palette generator →

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