#B057E5#B057E5

#B057E5 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.7% C 0.213 H 310.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B057E5
RGBrgb(176, 87, 229)
HSLhsl(278, 73%, 62%)
HSVhsv(278, 62%, 90%)
CMYKcmyk(23.1%, 62%, 0%, 10.2%)
CIE-LABlab(53.71, 59.44, -57.56)
CIE-LCHlch(53.71, 82.74, 315.92°)
OKLaboklab(62.66% 0.1388 -0.1622)
OKLCHoklch(62.66% 0.213 310.6)
XYZxyz(35.4529, 21.7044, 76.4353)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057E5 #8CE557
analogous
#6957E5 #B057E5 #E557D3
triadic
#B057E5 #E5B057 #57E5B0
tetradic
#B057E5 #E56957 #8CE557 #57D3E5
square
#B057E5 #E56957 #8CE557 #57D3E5
split-complementary
#B057E5 #D3E557 #57E569
monochromatic
#731AA8 #9722DD #B057E5 #C98CED #E2C1F5

Accessibility & contrast

On white

3.93
#B057E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#B057E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B057E5
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B057E5#FFFFFF#000000##000000
##B057E51.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#127CE9
Deuteranopia (green-blind)
#4782E2
Tritanopia (blue-blind)
#A97396
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b057e5;
/* rgb */ color: rgb(176, 87, 229);
/* oklch */ color: oklch(62.7% 0.213 310.6);
Tailwind
colors: {
  custom: {
    50: '#cb8bee',
    500: '#b057e5',
    950: '#000000',
  },
}
SCSS
$custom: #b057e5;
$custom-light: #cb8bee;
$custom-dark: #000000;
JSON
{
  "hex": "#b057e5",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 277.606,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.62663,
    "c": 0.21349,
    "h": 310.6
  },
  "luminance": 0.21704
}

Semantic roles & 50–950 ramp

primary
#B057E5
secondary
#C5E6B2
accent
#D5105A
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B057E5

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

Preview Lab → · Contrast checker → · Palette generator →

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