#B556EF#B556EF

#B556EF is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.8% C 0.226 H 310.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B556EF
RGBrgb(181, 86, 239)
HSLhsl(277, 83%, 64%)
HSVhsv(277, 64%, 94%)
CMYKcmyk(24.3%, 64%, 0%, 6.3%)
CIE-LABlab(54.77, 63.15, -61.43)
CIE-LCHlch(54.77, 88.10, 315.79°)
OKLaboklab(63.76% 0.1457 -0.1734)
OKLCHoklch(63.76% 0.226 310)
XYZxyz(37.9608, 22.7121, 84.0287)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B556EF #90EF56
analogous
#6856EF #B556EF #EF56DC
triadic
#B556EF #EFB556 #56EFB5
tetradic
#B556EF #EF6856 #90EF56 #56DCEF
square
#B556EF #EF6856 #90EF56 #56DCEF
split-complementary
#B556EF #DCEF56 #56EF68
monochromatic
#7A12B9 #9D1EEA #B556EF #CD8EF4 #E6C6FA

Accessibility & contrast

On white

3.79
#B556EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B556EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B556EF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B556EF#FFFFFF#000000##000000
##B556EF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b556ef;
/* rgb */ color: rgb(181, 86, 239);
/* oklch */ color: oklch(63.8% 0.226 310.0);
Tailwind
colors: {
  custom: {
    50: '#cf8bf5',
    500: '#b556ef',
    950: '#000000',
  },
}
SCSS
$custom: #b556ef;
$custom-light: #cf8bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b556ef",
  "rgb": {
    "r": 181,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 277.255,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63758,
    "c": 0.22649,
    "h": 310
  },
  "luminance": 0.22711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B556EF

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

Preview Lab → · Contrast checker → · Palette generator →

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