#B556E9#B556E9

#B556E9 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.4% C 0.221 H 311.5°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B556E9
RGBrgb(181, 86, 233)
HSLhsl(279, 77%, 63%)
HSVhsv(279, 63%, 91%)
CMYKcmyk(22.3%, 63.1%, 0%, 8.6%)
CIE-LABlab(54.41, 61.88, -58.65)
CIE-LCHlch(54.41, 85.26, 316.54°)
OKLaboklab(63.38% 0.146 -0.1652)
OKLCHoklch(63.38% 0.221 311.5)
XYZxyz(37.0891, 22.3634, 79.4378)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B556E9 #8AE956
analogous
#6C56E9 #B556E9 #E956D3
triadic
#B556E9 #E9B556 #56E9B5
tetradic
#B556E9 #E96C56 #8AE956 #56D3E9
square
#B556E9 #E96C56 #8AE956 #56D3E9
split-complementary
#B556E9 #D3E956 #56E96C
monochromatic
#7817AE #9D20E2 #B556E9 #CD8CF0 #E4C2F7

Accessibility & contrast

On white

3.84
#B556E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#B556E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B556E9
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B556E9#FFFFFF#000000##000000
##B556E91.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#057EEE
Deuteranopia (green-blind)
#4884E6
Tritanopia (blue-blind)
#AF7398
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b556e9;
/* rgb */ color: rgb(181, 86, 233);
/* oklch */ color: oklch(63.4% 0.221 311.5);
Tailwind
colors: {
  custom: {
    50: '#cf8bf1',
    500: '#b556e9',
    950: '#000000',
  },
}
SCSS
$custom: #b556e9;
$custom-light: #cf8bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b556e9",
  "rgb": {
    "r": 181,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 278.776,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63379,
    "c": 0.22051,
    "h": 311.5
  },
  "luminance": 0.22363
}

Semantic roles & 50–950 ramp

primary
#B556E9
secondary
#C6E8B3
accent
#D90C55
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B556E9

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

Preview Lab → · Contrast checker → · Palette generator →

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