#B556E7#B556E7

#B556E7 is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.3% C 0.219 H 312.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B556E7
RGBrgb(181, 86, 231)
HSLhsl(279, 75%, 62%)
HSVhsv(279, 63%, 91%)
CMYKcmyk(21.6%, 62.8%, 0%, 9.4%)
CIE-LABlab(54.29, 61.46, -57.72)
CIE-LCHlch(54.29, 84.31, 316.80°)
OKLaboklab(63.26% 0.1461 -0.1625)
OKLCHoklch(63.26% 0.219 312)
XYZxyz(36.8050, 22.2498, 77.9416)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B556E7 #88E756
analogous
#6C56E7 #B556E7 #E756D1
triadic
#B556E7 #E7B556 #56E7B5
tetradic
#B556E7 #E76C56 #88E756 #56D1E7
square
#B556E7 #E76C56 #88E756 #56D1E7
split-complementary
#B556E7 #D1E756 #56E76C
monochromatic
#7818AA #9E20DF #B556E7 #CC8CEF #E4C1F6

Accessibility & contrast

On white

3.85
#B556E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#B556E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B556E7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B556E7#FFFFFF#000000##000000
##B556E71.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7DEB
Deuteranopia (green-blind)
#4A84E4
Tritanopia (blue-blind)
#AF7297
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b556e7;
/* rgb */ color: rgb(181, 86, 231);
/* oklch */ color: oklch(63.3% 0.219 312.0);
Tailwind
colors: {
  custom: {
    50: '#cf8bef',
    500: '#b556e7',
    950: '#000000',
  },
}
SCSS
$custom: #b556e7;
$custom-light: #cf8bef;
$custom-dark: #000000;
JSON
{
  "hex": "#b556e7",
  "rgb": {
    "r": 181,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 279.31,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.63255,
    "c": 0.21852,
    "h": 312
  },
  "luminance": 0.22249
}

Semantic roles & 50–950 ramp

primary
#B556E7
secondary
#C4E7B2
accent
#D70E54
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B556E7

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

Preview Lab → · Contrast checker → · Palette generator →

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