#B358F2#B358F2

#B358F2 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 64.0% C 0.226 H 308.5°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B358F2
RGBrgb(179, 88, 242)
HSLhsl(275, 86%, 65%)
HSVhsv(275, 64%, 95%)
CMYKcmyk(26%, 63.6%, 0%, 5.1%)
CIE-LABlab(55.05, 62.44, -62.68)
CIE-LCHlch(55.05, 88.47, 314.89°)
OKLaboklab(63.96% 0.1408 -0.1771)
OKLCHoklch(63.96% 0.226 308.5)
XYZxyz(38.1039, 22.9746, 86.4144)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B358F2 #97F258
analogous
#6658F2 #B358F2 #F258E4
triadic
#B358F2 #F2B358 #58F2B3
tetradic
#B358F2 #F26658 #97F258 #58E4F2
square
#B358F2 #F26658 #97F258 #58E4F2
split-complementary
#B358F2 #E4F258 #58F266
monochromatic
#780FC1 #991FEE #B358F2 #CD91F6 #E7CAFB

Accessibility & contrast

On white

3.75
#B358F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#B358F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B358F2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B358F2#FFFFFF#000000##000000
##B358F21.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#3D85EF
Tritanopia (blue-blind)
#AA789D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b358f2;
/* rgb */ color: rgb(179, 88, 242);
/* oklch */ color: oklch(64.0% 0.226 308.5);
Tailwind
colors: {
  custom: {
    50: '#ce8cf7',
    500: '#b358f2',
    950: '#000000',
  },
}
SCSS
$custom: #b358f2;
$custom-light: #ce8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b358f2",
  "rgb": {
    "r": 179,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 275.455,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6396,
    "c": 0.22628,
    "h": 308.5
  },
  "luminance": 0.22974
}

Semantic roles & 50–950 ramp

primary
#B358F2
secondary
#CEEDB8
accent
#E2035F
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B358F2

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

Preview Lab → · Contrast checker → · Palette generator →

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