#B557EF#B557EF

#B557EF is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.9% C 0.225 H 310.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B557EF
RGBrgb(181, 87, 239)
HSLhsl(277, 83%, 64%)
HSVhsv(277, 64%, 94%)
CMYKcmyk(24.3%, 63.6%, 0%, 6.3%)
CIE-LABlab(54.94, 62.69, -61.16)
CIE-LCHlch(54.94, 87.58, 315.71°)
OKLaboklab(63.88% 0.1446 -0.1726)
OKLCHoklch(63.88% 0.225 310)
XYZxyz(38.0412, 22.8729, 84.0555)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B557EF #91EF57
analogous
#6957EF #B557EF #EF57DD
triadic
#B557EF #EFB557 #57EFB5
tetradic
#B557EF #EF6957 #91EF57 #57DDEF
square
#B557EF #EF6957 #91EF57 #57DDEF
split-complementary
#B557EF #DDEF57 #57EF69
monochromatic
#7A12BA #9C1FEA #B557EF #CE8FF4 #E6C7FA

Accessibility & contrast

On white

3.77
#B557EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B557EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B557EF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B557EF#FFFFFF#000000##000000
##B557EF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF4
Deuteranopia (green-blind)
#4285EC
Tritanopia (blue-blind)
#AD769C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b557ef;
/* rgb */ color: rgb(181, 87, 239);
/* oklch */ color: oklch(63.9% 0.225 310.0);
Tailwind
colors: {
  custom: {
    50: '#cf8cf5',
    500: '#b557ef',
    950: '#000000',
  },
}
SCSS
$custom: #b557ef;
$custom-light: #cf8cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b557ef",
  "rgb": {
    "r": 181,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 277.105,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63878,
    "c": 0.22517,
    "h": 310
  },
  "luminance": 0.22872
}

Semantic roles & 50–950 ramp

primary
#B557EF
secondary
#CBECB6
accent
#DF0659
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B557EF

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

Preview Lab → · Contrast checker → · Palette generator →

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