#B358EC#B358EC

#B358EC is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.6% C 0.220 H 309.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B358EC
RGBrgb(179, 88, 236)
HSLhsl(277, 80%, 64%)
HSVhsv(277, 63%, 93%)
CMYKcmyk(24.2%, 62.7%, 0%, 7.5%)
CIE-LABlab(54.68, 61.15, -59.91)
CIE-LCHlch(54.68, 85.61, 315.58°)
OKLaboklab(63.58% 0.1411 -0.169)
OKLCHoklch(63.58% 0.22 309.9)
XYZxyz(37.2175, 22.6200, 81.7461)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B358EC #91EC58
analogous
#6958EC #B358EC #EC58DB
triadic
#B358EC #ECB358 #58ECB3
tetradic
#B358EC #EC6958 #91EC58 #58DBEC
square
#B358EC #EC6958 #91EC58 #58DBEC
split-complementary
#B358EC #DBEC58 #58EC69
monochromatic
#7715B5 #9A21E6 #B358EC #CC8FF2 #E5C6F9

Accessibility & contrast

On white

3.80
#B358EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B358EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B358EC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B358EC#FFFFFF#000000##000000
##B358EC1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF1
Deuteranopia (green-blind)
#4484E9
Tritanopia (blue-blind)
#AB759A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b358ec;
/* rgb */ color: rgb(179, 88, 236);
/* oklch */ color: oklch(63.6% 0.220 309.9);
Tailwind
colors: {
  custom: {
    50: '#ce8cf3',
    500: '#b358ec',
    950: '#000000',
  },
}
SCSS
$custom: #b358ec;
$custom-light: #ce8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b358ec",
  "rgb": {
    "r": 179,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 276.892,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63577,
    "c": 0.2202,
    "h": 309.9
  },
  "luminance": 0.22619
}

Semantic roles & 50–950 ramp

primary
#B358EC
secondary
#CAEAB6
accent
#DC0A5B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B358EC

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

Preview Lab → · Contrast checker → · Palette generator →

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