#B557EA#B557EA

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

Color values

HEX#B557EA
RGBrgb(181, 87, 234)
HSLhsl(278, 78%, 63%)
HSVhsv(278, 63%, 92%)
CMYKcmyk(22.6%, 62.8%, 0%, 8.2%)
CIE-LABlab(54.64, 61.63, -58.84)
CIE-LCHlch(54.64, 85.21, 316.33°)
OKLaboklab(63.56% 0.1448 -0.1658)
OKLCHoklch(63.56% 0.22 311.1)
XYZxyz(37.3128, 22.5815, 80.2190)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B557EA #8CEA57
analogous
#6B57EA #B557EA #EA57D6
triadic
#B557EA #EAB557 #57EAB5
tetradic
#B557EA #EA6B57 #8CEA57 #57D6EA
square
#B557EA #EA6B57 #8CEA57 #57D6EA
split-complementary
#B557EA #D6EA57 #57EA6B
monochromatic
#7916B1 #9D21E3 #B557EA #CD8DF1 #E5C4F8

Accessibility & contrast

On white

3.81
#B557EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B557EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B557EA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B557EA#FFFFFF#000000##000000
##B557EA1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#077EEF
Deuteranopia (green-blind)
#4884E7
Tritanopia (blue-blind)
#AE7499
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b557ea;
/* rgb */ color: rgb(181, 87, 234);
/* oklch */ color: oklch(63.6% 0.220 311.1);
Tailwind
colors: {
  custom: {
    50: '#cf8cf1',
    500: '#b557ea',
    950: '#000000',
  },
}
SCSS
$custom: #b557ea;
$custom-light: #cf8cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b557ea",
  "rgb": {
    "r": 181,
    "g": 87,
    "b": 234
  },
  "hsl": {
    "h": 278.367,
    "s": 77.778,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63563,
    "c": 0.22016,
    "h": 311.1
  },
  "luminance": 0.22581
}

Semantic roles & 50–950 ramp

primary
#B557EA
secondary
#C7E9B4
accent
#DA0B56
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B557EA

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

Preview Lab → · Contrast checker → · Palette generator →

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