#B557F2#B557F2

#B557F2 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.1% C 0.228 H 309.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B557F2
RGBrgb(181, 87, 242)
HSLhsl(276, 86%, 65%)
HSVhsv(276, 64%, 95%)
CMYKcmyk(25.2%, 64%, 0%, 5.1%)
CIE-LABlab(55.13, 63.34, -62.54)
CIE-LCHlch(55.13, 89.01, 315.36°)
OKLaboklab(64.07% 0.1444 -0.1766)
OKLCHoklch(64.07% 0.228 309.3)
XYZxyz(38.4881, 23.0516, 86.4091)
Luminance0.2305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B557F2 #94F257
analogous
#6857F2 #B557F2 #F257E2
triadic
#B557F2 #F2B557 #57F2B5
tetradic
#B557F2 #F26857 #94F257 #57E2F2
square
#B557F2 #F26857 #94F257 #57E2F2
split-complementary
#B557F2 #E2F257 #57F268
monochromatic
#7A0FC0 #9C1EEE #B557F2 #CE90F6 #E7C9FB

Accessibility & contrast

On white

3.74
#B557F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#B557F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B557F2
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B557F2#FFFFFF#000000##000000
##B557F21.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#3F85EE
Tritanopia (blue-blind)
#AC779D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b557f2;
/* rgb */ color: rgb(181, 87, 242);
/* oklch */ color: oklch(64.1% 0.228 309.3);
Tailwind
colors: {
  custom: {
    50: '#cf8cf7',
    500: '#b557f2',
    950: '#000000',
  },
}
SCSS
$custom: #b557f2;
$custom-light: #cf8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#b557f2",
  "rgb": {
    "r": 181,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 276.387,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6407,
    "c": 0.22818,
    "h": 309.3
  },
  "luminance": 0.23051
}

Semantic roles & 50–950 ramp

primary
#B557F2
secondary
#CDEDB8
accent
#E2035B
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B557F2

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

Preview Lab → · Contrast checker → · Palette generator →

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