#B056E4#B056E4

#B056E4 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.5% C 0.214 H 310.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B056E4
RGBrgb(176, 86, 228)
HSLhsl(278, 72%, 62%)
HSVhsv(278, 62%, 89%)
CMYKcmyk(22.8%, 62.3%, 0%, 10.6%)
CIE-LABlab(53.48, 59.70, -57.37)
CIE-LCHlch(53.48, 82.79, 316.14°)
OKLaboklab(62.48% 0.14 -0.1616)
OKLCHoklch(62.48% 0.214 310.9)
XYZxyz(35.2333, 21.4879, 75.6753)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B056E4 #8AE456
analogous
#6956E4 #B056E4 #E456D1
triadic
#B056E4 #E4B056 #56E4B0
tetradic
#B056E4 #E46956 #8AE456 #56D1E4
square
#B056E4 #E46956 #8AE456 #56D1E4
split-complementary
#B056E4 #D1E456 #56E469
monochromatic
#721AA5 #9723DA #B056E4 #C98BEC #E1C0F5

Accessibility & contrast

On white

3.96
#B056E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#B056E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B056E4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B056E4#FFFFFF#000000##000000
##B056E41.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#107CE8
Deuteranopia (green-blind)
#4781E1
Tritanopia (blue-blind)
#A97295
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b056e4;
/* rgb */ color: rgb(176, 86, 228);
/* oklch */ color: oklch(62.5% 0.214 310.9);
Tailwind
colors: {
  custom: {
    50: '#cb8bed',
    500: '#b056e4',
    950: '#000000',
  },
}
SCSS
$custom: #b056e4;
$custom-light: #cb8bed;
$custom-dark: #000000;
JSON
{
  "hex": "#b056e4",
  "rgb": {
    "r": 176,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 278.028,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62475,
    "c": 0.21384,
    "h": 310.9
  },
  "luminance": 0.21487
}

Semantic roles & 50–950 ramp

primary
#B056E4
secondary
#C4E5B0
accent
#D51159
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B056E4

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

Preview Lab → · Contrast checker → · Palette generator →

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