#B358F1#B358F1

#B358F1 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.9% C 0.225 H 308.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B358F1
RGBrgb(179, 88, 241)
HSLhsl(276, 85%, 65%)
HSVhsv(276, 63%, 95%)
CMYKcmyk(25.7%, 63.5%, 0%, 5.5%)
CIE-LABlab(54.98, 62.23, -62.22)
CIE-LCHlch(54.98, 88.00, 315.00°)
OKLaboklab(63.9% 0.1409 -0.1758)
OKLCHoklch(63.9% 0.225 308.7)
XYZxyz(37.9541, 22.9146, 85.6256)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B358F1 #96F158
analogous
#6758F1 #B358F1 #F158E3
triadic
#B358F1 #F1B358 #58F1B3
tetradic
#B358F1 #F16758 #96F158 #58E3F1
square
#B358F1 #F16758 #96F158 #58E3F1
split-complementary
#B358F1 #E3F158 #58F167
monochromatic
#7810BF #9920EC #B358F1 #CD90F6 #E6C9FA

Accessibility & contrast

On white

3.76
#B358F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#B358F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B358F1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B358F1#FFFFFF#000000##000000
##B358F11.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#3F85EE
Tritanopia (blue-blind)
#AA779D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b358f1;
/* rgb */ color: rgb(179, 88, 241);
/* oklch */ color: oklch(63.9% 0.225 308.7);
Tailwind
colors: {
  custom: {
    50: '#ce8cf6',
    500: '#b358f1',
    950: '#000000',
  },
}
SCSS
$custom: #b358f1;
$custom-light: #ce8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b358f1",
  "rgb": {
    "r": 179,
    "g": 88,
    "b": 241
  },
  "hsl": {
    "h": 275.686,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63896,
    "c": 0.22527,
    "h": 308.7
  },
  "luminance": 0.22914
}

Semantic roles & 50–950 ramp

primary
#B358F1
secondary
#CDEDB8
accent
#E1055E
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B358F1

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

Preview Lab → · Contrast checker → · Palette generator →

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