#B356E7#B356E7

#B356E7 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.0% C 0.218 H 311.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B356E7
RGBrgb(179, 86, 231)
HSLhsl(278, 75%, 62%)
HSVhsv(278, 63%, 91%)
CMYKcmyk(22.5%, 62.8%, 0%, 9.4%)
CIE-LABlab(54.04, 61.01, -58.14)
CIE-LCHlch(54.04, 84.28, 316.38°)
OKLaboklab(63.02% 0.1436 -0.1638)
OKLCHoklch(63.02% 0.218 311.2)
XYZxyz(36.3393, 22.0096, 77.9198)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B356E7 #8AE756
analogous
#6B56E7 #B356E7 #E756D2
triadic
#B356E7 #E7B356 #56E7B3
tetradic
#B356E7 #E76B56 #8AE756 #56D2E7
square
#B356E7 #E76B56 #8AE756 #56D2E7
split-complementary
#B356E7 #D2E756 #56E76B
monochromatic
#7618AA #9B20DF #B356E7 #CB8CEF #E3C1F6

Accessibility & contrast

On white

3.89
#B356E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#B356E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B356E7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B356E7#FFFFFF#000000##000000
##B356E71.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A7DEB
Deuteranopia (green-blind)
#4783E4
Tritanopia (blue-blind)
#AD7297
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b356e7;
/* rgb */ color: rgb(179, 86, 231);
/* oklch */ color: oklch(63.0% 0.218 311.2);
Tailwind
colors: {
  custom: {
    50: '#cd8bef',
    500: '#b356e7',
    950: '#000000',
  },
}
SCSS
$custom: #b356e7;
$custom-light: #cd8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#b356e7",
  "rgb": {
    "r": 179,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 278.483,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63017,
    "c": 0.21785,
    "h": 311.2
  },
  "luminance": 0.22009
}

Semantic roles & 50–950 ramp

primary
#B356E7
secondary
#C5E7B2
accent
#D70E56
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B356E7

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

Preview Lab → · Contrast checker → · Palette generator →

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