#B056F5#B056F5

#B056F5 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.6% C 0.231 H 307.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B056F5
RGBrgb(176, 86, 245)
HSLhsl(274, 89%, 65%)
HSVhsv(274, 65%, 96%)
CMYKcmyk(28.2%, 64.9%, 0%, 3.9%)
CIE-LABlab(54.53, 63.39, -65.20)
CIE-LCHlch(54.53, 90.93, 314.19°)
OKLaboklab(63.57% 0.139 -0.1846)
OKLCHoklch(63.57% 0.231 307)
XYZxyz(37.7102, 22.4787, 88.7207)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B056F5 #9BF556
analogous
#6056F5 #B056F5 #F556EB
triadic
#B056F5 #F5B056 #56F5B0
tetradic
#B056F5 #F56056 #9BF556 #56EBF5
square
#B056F5 #F56056 #9BF556 #56EBF5
split-complementary
#B056F5 #EBF556 #56F560
monochromatic
#750CC5 #951CF2 #B056F5 #CB90F8 #E6CAFC

Accessibility & contrast

On white

3.82
#B056F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#B056F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B056F5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B056F5#FFFFFF#000000##000000
##B056F51.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFA
Deuteranopia (green-blind)
#3283F1
Tritanopia (blue-blind)
#A5789E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b056f5;
/* rgb */ color: rgb(176, 86, 245);
/* oklch */ color: oklch(63.6% 0.231 307.0);
Tailwind
colors: {
  custom: {
    50: '#cc8bf9',
    500: '#b056f5',
    950: '#000000',
  },
}
SCSS
$custom: #b056f5;
$custom-light: #cc8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b056f5",
  "rgb": {
    "r": 176,
    "g": 86,
    "b": 245
  },
  "hsl": {
    "h": 273.962,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6357,
    "c": 0.23111,
    "h": 307
  },
  "luminance": 0.22478
}

Semantic roles & 50–950 ramp

primary
#B056F5
secondary
#D0EFB8
accent
#E50064
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B056F5

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

Preview Lab → · Contrast checker → · Palette generator →

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