#B156E4#B156E4

#B156E4 is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.6% C 0.214 H 311.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B156E4
RGBrgb(177, 86, 228)
HSLhsl(278, 72%, 62%)
HSVhsv(278, 62%, 89%)
CMYKcmyk(22.4%, 62.3%, 0%, 10.6%)
CIE-LABlab(53.61, 59.92, -57.16)
CIE-LCHlch(53.61, 82.81, 316.35°)
OKLaboklab(62.59% 0.1412 -0.161)
OKLCHoklch(62.59% 0.214 311.3)
XYZxyz(35.4602, 21.6049, 75.6859)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156E4 #89E456
analogous
#6A56E4 #B156E4 #E456D0
triadic
#B156E4 #E4B156 #56E4B1
tetradic
#B156E4 #E46A56 #89E456 #56D0E4
square
#B156E4 #E46A56 #89E456 #56D0E4
split-complementary
#B156E4 #D0E456 #56E46A
monochromatic
#731AA5 #9823DA #B156E4 #C98BEC #E2C0F5

Accessibility & contrast

On white

3.95
#B156E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#B156E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156E4
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156E4#FFFFFF#000000##000000
##B156E41.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#127CE8
Deuteranopia (green-blind)
#4882E1
Tritanopia (blue-blind)
#AB7195
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b156e4;
/* rgb */ color: rgb(177, 86, 228);
/* oklch */ color: oklch(62.6% 0.214 311.3);
Tailwind
colors: {
  custom: {
    50: '#cc8bed',
    500: '#b156e4',
    950: '#000000',
  },
}
SCSS
$custom: #b156e4;
$custom-light: #cc8bed;
$custom-dark: #000000;
JSON
{
  "hex": "#b156e4",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 278.451,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62593,
    "c": 0.21416,
    "h": 311.3
  },
  "luminance": 0.21604
}

Semantic roles & 50–950 ramp

primary
#B156E4
secondary
#C3E5B0
accent
#D51157
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B156E4

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

Preview Lab → · Contrast checker → · Palette generator →

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