#B557FA#B557FA

#B557FA is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.6% C 0.236 H 307.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B557FA
RGBrgb(181, 87, 250)
HSLhsl(275, 94%, 66%)
HSVhsv(275, 65%, 98%)
CMYKcmyk(27.6%, 65.2%, 0%, 2%)
CIE-LABlab(55.63, 65.07, -66.18)
CIE-LCHlch(55.63, 92.81, 314.51°)
OKLaboklab(64.59% 0.1439 -0.1873)
OKLCHoklch(64.59% 0.236 307.5)
XYZxyz(39.7160, 23.5428, 92.8759)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B557FA #9CFA57
analogous
#6357FA #B557FA #FA57EE
triadic
#B557FA #FAB557 #57FAB5
tetradic
#B557FA #FA6357 #9CFA57 #57EEFA
square
#B557FA #FA6357 #9CFA57 #57EEFA
split-complementary
#B557FA #EEFA57 #57FA63
monochromatic
#7B06D0 #9B1CF8 #B557FA #CF92FC #E9CEFE

Accessibility & contrast

On white

3.68
#B557FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B557FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B557FA
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B557FA#FFFFFF#000000##000000
##B557FA1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#3486F6
Tritanopia (blue-blind)
#AA7AA1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b557fa;
/* rgb */ color: rgb(181, 87, 250);
/* oklch */ color: oklch(64.6% 0.236 307.5);
Tailwind
colors: {
  custom: {
    50: '#d08cfd',
    500: '#b557fa',
    950: '#000000',
  },
}
SCSS
$custom: #b557fa;
$custom-light: #d08cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b557fa",
  "rgb": {
    "r": 181,
    "g": 87,
    "b": 250
  },
  "hsl": {
    "h": 274.601,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64591,
    "c": 0.2362,
    "h": 307.5
  },
  "luminance": 0.23542
}

Semantic roles & 50–950 ramp

primary
#B557FA
secondary
#D2F1BC
accent
#E60061
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140D18
muted
#837D86

Preview Lab

Preview with #B557FA

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

Preview Lab → · Contrast checker → · Palette generator →

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