#B057F5#B057F5

#B057F5 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.7% C 0.230 H 306.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B057F5
RGBrgb(176, 87, 245)
HSLhsl(274, 89%, 65%)
HSVhsv(274, 64%, 96%)
CMYKcmyk(28.2%, 64.5%, 0%, 3.9%)
CIE-LABlab(54.70, 62.93, -64.93)
CIE-LCHlch(54.70, 90.42, 314.10°)
OKLaboklab(63.69% 0.138 -0.1838)
OKLCHoklch(63.69% 0.23 306.9)
XYZxyz(37.7906, 22.6395, 88.7475)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057F5 #9CF557
analogous
#6157F5 #B057F5 #F557EB
triadic
#B057F5 #F5B057 #57F5B0
tetradic
#B057F5 #F56157 #9CF557 #57EBF5
square
#B057F5 #F56157 #9CF557 #57EBF5
split-complementary
#B057F5 #EBF557 #57F561
monochromatic
#750CC6 #951DF2 #B057F5 #CB91F8 #E6CBFC

Accessibility & contrast

On white

3.80
#B057F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#B057F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B057F5
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B057F5#FFFFFF#000000##000000
##B057F51.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FA
Deuteranopia (green-blind)
#3384F1
Tritanopia (blue-blind)
#A5789F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b057f5;
/* rgb */ color: rgb(176, 87, 245);
/* oklch */ color: oklch(63.7% 0.230 306.9);
Tailwind
colors: {
  custom: {
    50: '#cc8cf9',
    500: '#b057f5',
    950: '#000000',
  },
}
SCSS
$custom: #b057f5;
$custom-light: #cc8cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b057f5",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 245
  },
  "hsl": {
    "h": 273.797,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.63691,
    "c": 0.22983,
    "h": 306.9
  },
  "luminance": 0.22639
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B057F5

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

Preview Lab → · Contrast checker → · Palette generator →

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