#B556EB#B556EB

#B556EB is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.5% C 0.223 H 311.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B556EB
RGBrgb(181, 86, 235)
HSLhsl(278, 79%, 63%)
HSVhsv(278, 63%, 92%)
CMYKcmyk(23%, 63.4%, 0%, 7.8%)
CIE-LABlab(54.53, 62.30, -59.58)
CIE-LCHlch(54.53, 86.21, 316.28°)
OKLaboklab(63.51% 0.1459 -0.168)
OKLCHoklch(63.51% 0.223 311)
XYZxyz(37.3764, 22.4783, 80.9510)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B556EB #8CEB56
analogous
#6A56EB #B556EB #EB56D6
triadic
#B556EB #EBB556 #56EBB5
tetradic
#B556EB #EB6A56 #8CEB56 #56D6EB
square
#B556EB #EB6A56 #8CEB56 #56D6EB
split-complementary
#B556EB #D6EB56 #56EB6A
monochromatic
#7915B2 #9D1FE5 #B556EB #CD8DF1 #E5C3F8

Accessibility & contrast

On white

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

On black

5.50
#B556EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B556EB
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B556EB#FFFFFF#000000##000000
##B556EB1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#4684E8
Tritanopia (blue-blind)
#AE7399
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b556eb;
/* rgb */ color: rgb(181, 86, 235);
/* oklch */ color: oklch(63.5% 0.223 311.0);
Tailwind
colors: {
  custom: {
    50: '#cf8bf2',
    500: '#b556eb',
    950: '#000000',
  },
}
SCSS
$custom: #b556eb;
$custom-light: #cf8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b556eb",
  "rgb": {
    "r": 181,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 278.255,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63505,
    "c": 0.22251,
    "h": 311
  },
  "luminance": 0.22477
}

Semantic roles & 50–950 ramp

primary
#B556EB
secondary
#C7E9B4
accent
#DB0A56
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B556EB

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

Preview Lab → · Contrast checker → · Palette generator →

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