#B056F1#B056F1

#B056F1 is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.3% C 0.227 H 307.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B056F1
RGBrgb(176, 86, 241)
HSLhsl(275, 85%, 64%)
HSVhsv(275, 64%, 95%)
CMYKcmyk(27%, 64.3%, 0%, 5.5%)
CIE-LABlab(54.28, 62.51, -63.38)
CIE-LCHlch(54.28, 89.02, 314.61°)
OKLaboklab(63.31% 0.1394 -0.1793)
OKLCHoklch(63.31% 0.227 307.9)
XYZxyz(37.1062, 22.2371, 85.5395)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B056F1 #97F156
analogous
#6356F1 #B056F1 #F156E4
triadic
#B056F1 #F1B056 #56F1B0
tetradic
#B056F1 #F16356 #97F156 #56E4F1
square
#B056F1 #F16356 #97F156 #56E4F1
split-complementary
#B056F1 #E4F156 #56F163
monochromatic
#7410BD #961DEC #B056F1 #CA8FF6 #E5C7FA

Accessibility & contrast

On white

3.86
#B056F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#B056F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B056F1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B056F1#FFFFFF#000000##000000
##B056F11.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF6
Deuteranopia (green-blind)
#3883EE
Tritanopia (blue-blind)
#A6769C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b056f1;
/* rgb */ color: rgb(176, 86, 241);
/* oklch */ color: oklch(63.3% 0.227 307.9);
Tailwind
colors: {
  custom: {
    50: '#cc8bf6',
    500: '#b056f1',
    950: '#000000',
  },
}
SCSS
$custom: #b056f1;
$custom-light: #cc8bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b056f1",
  "rgb": {
    "r": 176,
    "g": 86,
    "b": 241
  },
  "hsl": {
    "h": 274.839,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63307,
    "c": 0.22705,
    "h": 307.9
  },
  "luminance": 0.22237
}

Semantic roles & 50–950 ramp

primary
#B056F1
secondary
#CDECB6
accent
#E10461
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B056F1

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

Preview Lab → · Contrast checker → · Palette generator →

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