#B156EB#B156EB

#B156EB is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.0% C 0.221 H 309.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B156EB
RGBrgb(177, 86, 235)
HSLhsl(277, 79%, 63%)
HSVhsv(277, 63%, 92%)
CMYKcmyk(24.7%, 63.4%, 0%, 7.8%)
CIE-LABlab(54.03, 61.42, -60.41)
CIE-LCHlch(54.03, 86.15, 315.48°)
OKLaboklab(63.04% 0.141 -0.1705)
OKLCHoklch(63.04% 0.221 309.6)
XYZxyz(36.4517, 22.0015, 80.9076)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156EB #90EB56
analogous
#6656EB #B156EB #EB56DB
triadic
#B156EB #EBB156 #56EBB1
tetradic
#B156EB #EB6656 #90EB56 #56DBEB
square
#B156EB #EB6656 #90EB56 #56DBEB
split-complementary
#B156EB #DBEB56 #56EB66
monochromatic
#7515B2 #981FE5 #B156EB #CA8DF1 #E4C3F8

Accessibility & contrast

On white

3.89
#B156EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#B156EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156EB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156EB#FFFFFF#000000##000000
##B156EB1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#A97499
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b156eb;
/* rgb */ color: rgb(177, 86, 235);
/* oklch */ color: oklch(63.0% 0.221 309.6);
Tailwind
colors: {
  custom: {
    50: '#cc8bf2',
    500: '#b156eb',
    950: '#000000',
  },
}
SCSS
$custom: #b156eb;
$custom-light: #cc8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b156eb",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 235
  },
  "hsl": {
    "h": 276.644,
    "s": 78.836,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63035,
    "c": 0.22125,
    "h": 309.6
  },
  "luminance": 0.22001
}

Semantic roles & 50–950 ramp

primary
#B156EB
secondary
#C8E9B4
accent
#DB0A5C
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B156EB

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

Preview Lab → · Contrast checker → · Palette generator →

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