#B557ED#B557ED

#B557ED is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.8% C 0.223 H 310.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B557ED
RGBrgb(181, 87, 237)
HSLhsl(278, 81%, 64%)
HSVhsv(278, 63%, 93%)
CMYKcmyk(23.6%, 63.3%, 0%, 7.1%)
CIE-LABlab(54.82, 62.27, -60.23)
CIE-LCHlch(54.82, 86.63, 315.95°)
OKLaboklab(63.75% 0.1447 -0.1699)
OKLCHoklch(63.75% 0.223 310.4)
XYZxyz(37.7474, 22.7554, 82.5081)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B557ED #8FED57
analogous
#6A57ED #B557ED #ED57DA
triadic
#B557ED #EDB557 #57EDB5
tetradic
#B557ED #ED6A57 #8FED57 #57DAED
square
#B557ED #ED6A57 #8FED57 #57DAED
split-complementary
#B557ED #DAED57 #57ED6A
monochromatic
#7914B6 #9D20E7 #B557ED #CD8EF3 #E6C6F9

Accessibility & contrast

On white

3.78
#B557ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#B557ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B557ED
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B557ED#FFFFFF#000000##000000
##B557ED1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#4585EA
Tritanopia (blue-blind)
#AE759A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b557ed;
/* rgb */ color: rgb(181, 87, 237);
/* oklch */ color: oklch(63.8% 0.223 310.4);
Tailwind
colors: {
  custom: {
    50: '#cf8cf4',
    500: '#b557ed',
    950: '#000000',
  },
}
SCSS
$custom: #b557ed;
$custom-light: #cf8cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b557ed",
  "rgb": {
    "r": 181,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 277.6,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63752,
    "c": 0.22317,
    "h": 310.4
  },
  "luminance": 0.22755
}

Semantic roles & 50–950 ramp

primary
#B557ED
secondary
#C9EAB5
accent
#DD0958
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B557ED

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

Preview Lab → · Contrast checker → · Palette generator →

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