#B056E9#B056E9

#B056E9 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.8% C 0.219 H 309.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B056E9
RGBrgb(176, 86, 233)
HSLhsl(277, 77%, 63%)
HSVhsv(277, 63%, 91%)
CMYKcmyk(24.5%, 63.1%, 0%, 8.6%)
CIE-LABlab(53.78, 60.77, -59.69)
CIE-LCHlch(53.78, 85.18, 315.51°)
OKLaboklab(62.79% 0.1398 -0.1684)
OKLCHoklch(62.79% 0.219 309.7)
XYZxyz(35.9374, 21.7696, 79.3838)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B056E9 #8FE956
analogous
#6756E9 #B056E9 #E956D8
triadic
#B056E9 #E9B056 #56E9B0
tetradic
#B056E9 #E96756 #8FE956 #56D8E9
square
#B056E9 #E96756 #8FE956 #56D8E9
split-complementary
#B056E9 #D8E956 #56E967
monochromatic
#7317AE #9720E2 #B056E9 #C98CF0 #E3C2F7

Accessibility & contrast

On white

3.92
#B056E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B056E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B056E9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B056E9#FFFFFF#000000##000000
##B056E91.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#4282E6
Tritanopia (blue-blind)
#A87398
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b056e9;
/* rgb */ color: rgb(176, 86, 233);
/* oklch */ color: oklch(62.8% 0.219 309.7);
Tailwind
colors: {
  custom: {
    50: '#cc8bf1',
    500: '#b056e9',
    950: '#000000',
  },
}
SCSS
$custom: #b056e9;
$custom-light: #cc8bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b056e9",
  "rgb": {
    "r": 176,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 276.735,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6279,
    "c": 0.21892,
    "h": 309.7
  },
  "luminance": 0.21769
}

Semantic roles & 50–950 ramp

primary
#B056E9
secondary
#C7E8B3
accent
#D90C5C
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #B056E9

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

Preview Lab → · Contrast checker → · Palette generator →

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