#B056F3#B056F3

#B056F3 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.4% C 0.229 H 307.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B056F3
RGBrgb(176, 86, 243)
HSLhsl(274, 87%, 65%)
HSVhsv(274, 65%, 95%)
CMYKcmyk(27.6%, 64.6%, 0%, 4.7%)
CIE-LABlab(54.40, 62.95, -64.29)
CIE-LCHlch(54.40, 89.98, 314.40°)
OKLaboklab(63.44% 0.1392 -0.1819)
OKLCHoklch(63.44% 0.229 307.4)
XYZxyz(37.4066, 22.3572, 87.1214)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B056F3 #99F356
analogous
#6256F3 #B056F3 #F356E7
triadic
#B056F3 #F3B056 #56F3B0
tetradic
#B056F3 #F36256 #99F356 #56E7F3
square
#B056F3 #F36256 #99F356 #56E7F3
split-complementary
#B056F3 #E7F356 #56F362
monochromatic
#740EC1 #951DEF #B056F3 #CB8FF7 #E5C8FB

Accessibility & contrast

On white

3.84
#B056F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#B056F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B056F3
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B056F3#FFFFFF#000000##000000
##B056F31.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF8
Deuteranopia (green-blind)
#3583EF
Tritanopia (blue-blind)
#A5779D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b056f3;
/* rgb */ color: rgb(176, 86, 243);
/* oklch */ color: oklch(63.4% 0.229 307.4);
Tailwind
colors: {
  custom: {
    50: '#cc8bf8',
    500: '#b056f3',
    950: '#000000',
  },
}
SCSS
$custom: #b056f3;
$custom-light: #cc8bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#b056f3",
  "rgb": {
    "r": 176,
    "g": 86,
    "b": 243
  },
  "hsl": {
    "h": 274.395,
    "s": 86.74,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63438,
    "c": 0.22908,
    "h": 307.4
  },
  "luminance": 0.22357
}

Semantic roles & 50–950 ramp

primary
#B056F3
secondary
#CEEDB7
accent
#E30262
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B056F3

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

Preview Lab → · Contrast checker → · Palette generator →

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