#B156EE#B156EE

#B156EE is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.2% C 0.224 H 308.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B156EE
RGBrgb(177, 86, 238)
HSLhsl(276, 82%, 64%)
HSVhsv(276, 64%, 93%)
CMYKcmyk(25.6%, 63.9%, 0%, 6.7%)
CIE-LABlab(54.21, 62.07, -61.79)
CIE-LCHlch(54.21, 87.59, 315.13°)
OKLaboklab(63.23% 0.1408 -0.1746)
OKLCHoklch(63.23% 0.224 308.9)
XYZxyz(36.8888, 22.1764, 83.2095)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156EE #93EE56
analogous
#6556EE #B156EE #EE56DF
triadic
#B156EE #EEB156 #56EEB1
tetradic
#B156EE #EE6556 #93EE56 #56DFEE
square
#B156EE #EE6556 #93EE56 #56DFEE
split-complementary
#B156EE #DFEE56 #56EE65
monochromatic
#7512B7 #971EE8 #B156EE #CB8EF4 #E4C5F9

Accessibility & contrast

On white

3.86
#B156EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#B156EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156EE
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156EE#FFFFFF#000000##000000
##B156EE1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF3
Deuteranopia (green-blind)
#3D83EB
Tritanopia (blue-blind)
#A8759B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b156ee;
/* rgb */ color: rgb(177, 86, 238);
/* oklch */ color: oklch(63.2% 0.224 308.9);
Tailwind
colors: {
  custom: {
    50: '#cc8bf4',
    500: '#b156ee',
    950: '#000000',
  },
}
SCSS
$custom: #b156ee;
$custom-light: #cc8bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b156ee",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 275.921,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63227,
    "c": 0.22428,
    "h": 308.9
  },
  "luminance": 0.22176
}

Semantic roles & 50–950 ramp

primary
#B156EE
secondary
#CBEBB5
accent
#DE075E
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B156EE

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

Preview Lab → · Contrast checker → · Palette generator →

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