#B057F0#B057F0

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

Color values

HEX#B057F0
RGBrgb(176, 87, 240)
HSLhsl(275, 84%, 64%)
HSVhsv(275, 64%, 94%)
CMYKcmyk(26.7%, 63.7%, 0%, 5.9%)
CIE-LABlab(54.38, 61.83, -62.65)
CIE-LCHlch(54.38, 88.02, 314.62°)
OKLaboklab(63.36% 0.1383 -0.1771)
OKLCHoklch(63.36% 0.225 308)
XYZxyz(37.0376, 22.3383, 84.7818)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057F0 #97F057
analogous
#6457F0 #B057F0 #F057E4
triadic
#B057F0 #F0B057 #57F0B0
tetradic
#B057F0 #F06457 #97F057 #57E4F0
square
#B057F0 #F06457 #97F057 #57E4F0
split-complementary
#B057F0 #E4F057 #57F064
monochromatic
#7411BC #961FEB #B057F0 #CA8FF5 #E5C7FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B057F0#FFFFFF#000000##000000
##B057F01.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)
#007FF5
Deuteranopia (green-blind)
#3A83ED
Tritanopia (blue-blind)
#A6779C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b057f0;
/* rgb */ color: rgb(176, 87, 240);
/* oklch */ color: oklch(63.4% 0.225 308.0);
Tailwind
colors: {
  custom: {
    50: '#cc8cf6',
    500: '#b057f0',
    950: '#000000',
  },
}
SCSS
$custom: #b057f0;
$custom-light: #cc8cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b057f0",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 240
  },
  "hsl": {
    "h": 274.902,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63363,
    "c": 0.22472,
    "h": 308
  },
  "luminance": 0.22338
}

Semantic roles & 50–950 ramp

primary
#B057F0
secondary
#CDECB7
accent
#E00561
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B057F0

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

Preview Lab → · Contrast checker → · Palette generator →

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