#B557E8#B557E8

#B557E8 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.4% C 0.218 H 311.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B557E8
RGBrgb(181, 87, 232)
HSLhsl(279, 76%, 63%)
HSVhsv(279, 63%, 91%)
CMYKcmyk(22%, 62.5%, 0%, 9%)
CIE-LABlab(54.52, 61.21, -57.91)
CIE-LCHlch(54.52, 84.27, 316.58°)
OKLaboklab(63.44% 0.1449 -0.1631)
OKLCHoklch(63.44% 0.218 311.6)
XYZxyz(37.0271, 22.4672, 78.7144)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B557E8 #8AE857
analogous
#6D57E8 #B557E8 #E857D2
triadic
#B557E8 #E8B557 #57E8B5
tetradic
#B557E8 #E86D57 #8AE857 #57D2E8
square
#B557E8 #E86D57 #8AE857 #57D2E8
split-complementary
#B557E8 #D2E857 #57E86D
monochromatic
#7818AD #9D21E1 #B557E8 #CD8DEF #E4C3F7

Accessibility & contrast

On white

3.82
#B557E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#B557E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B557E8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B557E8#FFFFFF#000000##000000
##B557E81.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#107EEC
Deuteranopia (green-blind)
#4A84E5
Tritanopia (blue-blind)
#AF7398
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b557e8;
/* rgb */ color: rgb(181, 87, 232);
/* oklch */ color: oklch(63.4% 0.218 311.6);
Tailwind
colors: {
  custom: {
    50: '#cf8cf0',
    500: '#b557e8',
    950: '#000000',
  },
}
SCSS
$custom: #b557e8;
$custom-light: #cf8cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#b557e8",
  "rgb": {
    "r": 181,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 278.897,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63439,
    "c": 0.21816,
    "h": 311.6
  },
  "luminance": 0.22466
}

Semantic roles & 50–950 ramp

primary
#B557E8
secondary
#C6E8B3
accent
#D80D55
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B557E8

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

Preview Lab → · Contrast checker → · Palette generator →

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