#B057F4#B057F4

#B057F4 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.6% C 0.229 H 307.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B057F4
RGBrgb(176, 87, 244)
HSLhsl(274, 88%, 65%)
HSVhsv(274, 64%, 96%)
CMYKcmyk(27.9%, 64.3%, 0%, 4.3%)
CIE-LABlab(54.64, 62.71, -64.47)
CIE-LCHlch(54.64, 89.94, 314.20°)
OKLaboklab(63.63% 0.138 -0.1825)
OKLCHoklch(63.63% 0.229 307.1)
XYZxyz(37.6384, 22.5786, 87.9457)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057F4 #9BF457
analogous
#6257F4 #B057F4 #F457E9
triadic
#B057F4 #F4B057 #57F4B0
tetradic
#B057F4 #F46257 #9BF457 #57E9F4
square
#B057F4 #F46257 #9BF457 #57E9F4
split-complementary
#B057F4 #E9F457 #57F462
monochromatic
#750DC4 #951EF0 #B057F4 #CB90F8 #E6CAFC

Accessibility & contrast

On white

3.81
#B057F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B057F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B057F4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B057F4#FFFFFF#000000##000000
##B057F41.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F9
Deuteranopia (green-blind)
#3583F0
Tritanopia (blue-blind)
#A5789E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b057f4;
/* rgb */ color: rgb(176, 87, 244);
/* oklch */ color: oklch(63.6% 0.229 307.1);
Tailwind
colors: {
  custom: {
    50: '#cc8cf9',
    500: '#b057f4',
    950: '#000000',
  },
}
SCSS
$custom: #b057f4;
$custom-light: #cc8cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b057f4",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 244
  },
  "hsl": {
    "h": 274.013,
    "s": 87.709,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63625,
    "c": 0.2288,
    "h": 307.1
  },
  "luminance": 0.22578
}

Semantic roles & 50–950 ramp

primary
#B057F4
secondary
#D0EEB9
accent
#E40164
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B057F4

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

Preview Lab → · Contrast checker → · Palette generator →

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