#B057EB#B057EB

#B057EB is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.0% C 0.220 H 309.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B057EB
RGBrgb(176, 87, 235)
HSLhsl(276, 79%, 63%)
HSVhsv(276, 63%, 92%)
CMYKcmyk(25.1%, 63%, 0%, 7.8%)
CIE-LABlab(54.08, 60.73, -60.34)
CIE-LCHlch(54.08, 85.62, 315.19°)
OKLaboklab(63.04% 0.1386 -0.1704)
OKLCHoklch(63.04% 0.22 309.1)
XYZxyz(36.3051, 22.0453, 80.9238)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B057EB #92EB57
analogous
#6657EB #B057EB #EB57DC
triadic
#B057EB #EBB057 #57EBB0
tetradic
#B057EB #EB6657 #92EB57 #57DCEB
square
#B057EB #EB6657 #92EB57 #57DCEB
split-complementary
#B057EB #DCEB57 #57EB66
monochromatic
#7415B2 #9620E4 #B057EB #CA8EF2 #E3C4F8

Accessibility & contrast

On white

3.88
#B057EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#B057EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B057EB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B057EB#FFFFFF#000000##000000
##B057EB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#4182E8
Tritanopia (blue-blind)
#A87599
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b057eb;
/* rgb */ color: rgb(176, 87, 235);
/* oklch */ color: oklch(63.0% 0.220 309.1);
Tailwind
colors: {
  custom: {
    50: '#cc8bf2',
    500: '#b057eb',
    950: '#000000',
  },
}
SCSS
$custom: #b057eb;
$custom-light: #cc8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b057eb",
  "rgb": {
    "r": 176,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 276.081,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63042,
    "c": 0.21961,
    "h": 309.1
  },
  "luminance": 0.22045
}

Semantic roles & 50–950 ramp

primary
#B057EB
secondary
#CAE9B4
accent
#DB0A5E
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C17
muted
#827D85

Preview Lab

Preview with #B057EB

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

Preview Lab → · Contrast checker → · Palette generator →

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