#B056EB#B056EB

#B056EB is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.9% C 0.221 H 309.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B056EB
RGBrgb(176, 86, 235)
HSLhsl(276, 79%, 63%)
HSVhsv(276, 63%, 92%)
CMYKcmyk(25.1%, 63.4%, 0%, 7.8%)
CIE-LABlab(53.90, 61.20, -60.62)
CIE-LCHlch(53.90, 86.14, 315.28°)
OKLaboklab(62.92% 0.1397 -0.1712)
OKLCHoklch(62.92% 0.221 309.2)
XYZxyz(36.2247, 21.8845, 80.8970)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B056EB #91EB56
analogous
#6656EB #B056EB #EB56DB
triadic
#B056EB #EBB056 #56EBB0
tetradic
#B056EB #EB6656 #91EB56 #56DBEB
square
#B056EB #EB6656 #91EB56 #56DBEB
split-complementary
#B056EB #DBEB56 #56EB66
monochromatic
#7415B2 #961FE5 #B056EB #CA8DF1 #E3C3F8

Accessibility & contrast

On white

3.91
#B056EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#B056EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B056EB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B056EB#FFFFFF#000000##000000
##B056EB1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#3F82E8
Tritanopia (blue-blind)
#A87499
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b056eb;
/* rgb */ color: rgb(176, 86, 235);
/* oklch */ color: oklch(62.9% 0.221 309.2);
Tailwind
colors: {
  custom: {
    50: '#cc8bf2',
    500: '#b056eb',
    950: '#000000',
  },
}
SCSS
$custom: #b056eb;
$custom-light: #cc8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b056eb",
  "rgb": {
    "r": 176,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 276.242,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62918,
    "c": 0.22095,
    "h": 309.2
  },
  "luminance": 0.21884
}

Semantic roles & 50–950 ramp

primary
#B056EB
secondary
#C9E9B4
accent
#DB0A5D
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #B056EB

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

Preview Lab → · Contrast checker → · Palette generator →

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