#B557EB#B557EB

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

Color values

HEX#B557EB
RGBrgb(181, 87, 235)
HSLhsl(278, 79%, 63%)
HSVhsv(278, 63%, 92%)
CMYKcmyk(23%, 63%, 0%, 7.8%)
CIE-LABlab(54.70, 61.84, -59.31)
CIE-LCHlch(54.70, 85.69, 316.20°)
OKLaboklab(63.63% 0.1448 -0.1672)
OKLCHoklch(63.63% 0.221 310.9)
XYZxyz(37.4568, 22.6391, 80.9778)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B557EB #8DEB57
analogous
#6B57EB #B557EB #EB57D7
triadic
#B557EB #EBB557 #57EBB5
tetradic
#B557EB #EB6B57 #8DEB57 #57D7EB
square
#B557EB #EB6B57 #8DEB57 #57D7EB
split-complementary
#B557EB #D7EB57 #57EB6B
monochromatic
#7915B2 #9D20E4 #B557EB #CD8EF2 #E5C4F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B557EB#FFFFFF#000000##000000
##B557EB1.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)
#027EF0
Deuteranopia (green-blind)
#4785E8
Tritanopia (blue-blind)
#AE7499
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b557eb;
/* rgb */ color: rgb(181, 87, 235);
/* oklch */ color: oklch(63.6% 0.221 310.9);
Tailwind
colors: {
  custom: {
    50: '#cf8cf2',
    500: '#b557eb',
    950: '#000000',
  },
}
SCSS
$custom: #b557eb;
$custom-light: #cf8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b557eb",
  "rgb": {
    "r": 181,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 278.108,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.63626,
    "c": 0.22116,
    "h": 310.9
  },
  "luminance": 0.22638
}

Semantic roles & 50–950 ramp

primary
#B557EB
secondary
#C8E9B4
accent
#DB0A57
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B557EB

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

Preview Lab → · Contrast checker → · Palette generator →

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