#B056EF#B056EF

#B056EF is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 63.2% C 0.225 H 308.3°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B056EF
RGBrgb(176, 86, 239)
HSLhsl(275, 83%, 64%)
HSVhsv(275, 64%, 94%)
CMYKcmyk(26.4%, 64%, 0%, 6.3%)
CIE-LABlab(54.15, 62.07, -62.46)
CIE-LCHlch(54.15, 88.06, 314.82°)
OKLaboklab(63.18% 0.1395 -0.1766)
OKLCHoklch(63.18% 0.225 308.3)
XYZxyz(36.8091, 22.1182, 83.9748)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B056EF #95EF56
analogous
#6356EF #B056EF #EF56E2
triadic
#B056EF #EFB056 #56EFB0
tetradic
#B056EF #EF6356 #95EF56 #56E2EF
square
#B056EF #EF6356 #95EF56 #56E2EF
split-complementary
#B056EF #E2EF56 #56EF63
monochromatic
#7412B9 #961EEA #B056EF #CA8EF4 #E4C6FA

Accessibility & contrast

On white

3.87
#B056EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#B056EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B056EF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B056EF#FFFFFF#000000##000000
##B056EF1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#3A83EC
Tritanopia (blue-blind)
#A6769B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b056ef;
/* rgb */ color: rgb(176, 86, 239);
/* oklch */ color: oklch(63.2% 0.225 308.3);
Tailwind
colors: {
  custom: {
    50: '#cc8bf5',
    500: '#b056ef',
    950: '#000000',
  },
}
SCSS
$custom: #b056ef;
$custom-light: #cc8bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b056ef",
  "rgb": {
    "r": 176,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 275.294,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63176,
    "c": 0.22501,
    "h": 308.3
  },
  "luminance": 0.22118
}

Semantic roles & 50–950 ramp

primary
#B056EF
secondary
#CCEBB5
accent
#DF0660
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B056EF

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

Preview Lab → · Contrast checker → · Palette generator →

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