#B556E8#B556E8

#B556E8 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.3% C 0.220 H 311.7°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B556E8
RGBrgb(181, 86, 232)
HSLhsl(279, 76%, 62%)
HSVhsv(279, 63%, 91%)
CMYKcmyk(22%, 62.9%, 0%, 9%)
CIE-LABlab(54.35, 61.67, -58.18)
CIE-LCHlch(54.35, 84.79, 316.67°)
OKLaboklab(63.32% 0.1461 -0.1639)
OKLCHoklch(63.32% 0.22 311.7)
XYZxyz(36.9467, 22.3064, 78.6876)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B556E8 #89E856
analogous
#6C56E8 #B556E8 #E856D2
triadic
#B556E8 #E8B556 #56E8B5
tetradic
#B556E8 #E86C56 #89E856 #56D2E8
square
#B556E8 #E86C56 #89E856 #56D2E8
split-complementary
#B556E8 #D2E856 #56E86C
monochromatic
#7817AC #9D20E1 #B556E8 #CD8CEF #E4C2F7

Accessibility & contrast

On white

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

On black

5.46
#B556E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B556E8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B556E8#FFFFFF#000000##000000
##B556E81.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A7DEC
Deuteranopia (green-blind)
#4984E5
Tritanopia (blue-blind)
#AF7298
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b556e8;
/* rgb */ color: rgb(181, 86, 232);
/* oklch */ color: oklch(63.3% 0.220 311.7);
Tailwind
colors: {
  custom: {
    50: '#cf8bf0',
    500: '#b556e8',
    950: '#000000',
  },
}
SCSS
$custom: #b556e8;
$custom-light: #cf8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#b556e8",
  "rgb": {
    "r": 181,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 279.041,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63317,
    "c": 0.21952,
    "h": 311.7
  },
  "luminance": 0.22306
}

Semantic roles & 50–950 ramp

primary
#B556E8
secondary
#C5E8B2
accent
#D80D54
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B556E8

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

Preview Lab → · Contrast checker → · Palette generator →

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