#B556ED#B556ED

#B556ED is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.6% C 0.224 H 310.5°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B556ED
RGBrgb(181, 86, 237)
HSLhsl(278, 81%, 63%)
HSVhsv(278, 64%, 93%)
CMYKcmyk(23.6%, 63.7%, 0%, 7.1%)
CIE-LABlab(54.65, 62.73, -60.50)
CIE-LCHlch(54.65, 87.15, 316.03°)
OKLaboklab(63.63% 0.1458 -0.1707)
OKLCHoklch(63.63% 0.224 310.5)
XYZxyz(37.6670, 22.5946, 82.4813)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B556ED #8EED56
analogous
#6956ED #B556ED #ED56DA
triadic
#B556ED #EDB556 #56EDB5
tetradic
#B556ED #ED6956 #8EED56 #56DAED
square
#B556ED #ED6956 #8EED56 #56DAED
split-complementary
#B556ED #DAED56 #56ED69
monochromatic
#7913B5 #9D1FE7 #B556ED #CD8DF3 #E5C5F9

Accessibility & contrast

On white

3.81
#B556ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B556ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B556ED
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B556ED#FFFFFF#000000##000000
##B556ED1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF2
Deuteranopia (green-blind)
#4384EA
Tritanopia (blue-blind)
#AE749A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b556ed;
/* rgb */ color: rgb(181, 86, 237);
/* oklch */ color: oklch(63.6% 0.224 310.5);
Tailwind
colors: {
  custom: {
    50: '#cf8bf4',
    500: '#b556ed',
    950: '#000000',
  },
}
SCSS
$custom: #b556ed;
$custom-light: #cf8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b556ed",
  "rgb": {
    "r": 181,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 277.748,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63631,
    "c": 0.22449,
    "h": 310.5
  },
  "luminance": 0.22594
}

Semantic roles & 50–950 ramp

primary
#B556ED
secondary
#C8EAB4
accent
#DD0857
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B556ED

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

Preview Lab → · Contrast checker → · Palette generator →

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