#B556FB#B556FB

#B556FB is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.5% C 0.238 H 307.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B556FB
RGBrgb(181, 86, 251)
HSLhsl(275, 95%, 66%)
HSVhsv(275, 66%, 98%)
CMYKcmyk(27.9%, 65.7%, 0%, 1.6%)
CIE-LABlab(55.53, 65.74, -66.90)
CIE-LCHlch(55.53, 93.79, 314.50°)
OKLaboklab(64.54% 0.1448 -0.1894)
OKLCHoklch(64.54% 0.238 307.4)
XYZxyz(39.7928, 23.4449, 93.6771)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B556FB #9CFB56
analogous
#6256FB #B556FB #FB56EF
triadic
#B556FB #FBB556 #56FBB5
tetradic
#B556FB #FB6256 #9CFB56 #56EFFB
square
#B556FB #FB6256 #9CFB56 #56EFFB
split-complementary
#B556FB #EFFB56 #56FB62
monochromatic
#7B05D2 #9B1AFA #B556FB #CF92FC #E9CEFE

Accessibility & contrast

On white

3.69
#B556FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#B556FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B556FB
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B556FB#FFFFFF#000000##000000
##B556FB1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#3086F7
Tritanopia (blue-blind)
#AA79A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b556fb;
/* rgb */ color: rgb(181, 86, 251);
/* oklch */ color: oklch(64.5% 0.238 307.4);
Tailwind
colors: {
  custom: {
    50: '#d08cfd',
    500: '#b556fb',
    950: '#000000',
  },
}
SCSS
$custom: #b556fb;
$custom-light: #d08cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b556fb",
  "rgb": {
    "r": 181,
    "g": 86,
    "b": 251
  },
  "hsl": {
    "h": 274.545,
    "s": 95.376,
    "l": 66.078
  },
  "oklch": {
    "l": 0.6454,
    "c": 0.23847,
    "h": 307.4
  },
  "luminance": 0.23444
}

Semantic roles & 50–950 ramp

primary
#B556FB
secondary
#D2F2BB
accent
#E60061
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C18
muted
#837D86

Preview Lab

Preview with #B556FB

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

Preview Lab → · Contrast checker → · Palette generator →

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