#B557EC#B557EC

#B557EC is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.7% C 0.222 H 310.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B557EC
RGBrgb(181, 87, 236)
HSLhsl(278, 80%, 63%)
HSVhsv(278, 63%, 93%)
CMYKcmyk(23.3%, 63.1%, 0%, 7.5%)
CIE-LABlab(54.76, 62.06, -59.77)
CIE-LCHlch(54.76, 86.16, 316.07°)
OKLaboklab(63.69% 0.1448 -0.1685)
OKLCHoklch(63.69% 0.222 310.7)
XYZxyz(37.6017, 22.6971, 81.7408)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B557EC #8EEC57
analogous
#6A57EC #B557EC #EC57D9
triadic
#B557EC #ECB557 #57ECB5
tetradic
#B557EC #EC6A57 #8EEC57 #57D9EC
square
#B557EC #EC6A57 #8EEC57 #57D9EC
split-complementary
#B557EC #D9EC57 #57EC6A
monochromatic
#7914B4 #9D20E6 #B557EC #CD8EF2 #E5C5F8

Accessibility & contrast

On white

3.79
#B557EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B557EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B557EC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B557EC#FFFFFF#000000##000000
##B557EC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF1
Deuteranopia (green-blind)
#4685E9
Tritanopia (blue-blind)
#AE759A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b557ec;
/* rgb */ color: rgb(181, 87, 236);
/* oklch */ color: oklch(63.7% 0.222 310.7);
Tailwind
colors: {
  custom: {
    50: '#cf8cf3',
    500: '#b557ec',
    950: '#000000',
  },
}
SCSS
$custom: #b557ec;
$custom-light: #cf8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b557ec",
  "rgb": {
    "r": 181,
    "g": 87,
    "b": 236
  },
  "hsl": {
    "h": 277.852,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63689,
    "c": 0.22217,
    "h": 310.7
  },
  "luminance": 0.22696
}

Semantic roles & 50–950 ramp

primary
#B557EC
secondary
#C8EAB5
accent
#DC0A57
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B557EC

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

Preview Lab → · Contrast checker → · Palette generator →

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