#B156E9#B156E9

#B156E9 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.9% C 0.219 H 310.1°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B156E9
RGBrgb(177, 86, 233)
HSLhsl(277, 77%, 63%)
HSVhsv(277, 63%, 91%)
CMYKcmyk(24%, 63.1%, 0%, 8.6%)
CIE-LABlab(53.91, 60.99, -59.49)
CIE-LCHlch(53.91, 85.20, 315.72°)
OKLaboklab(62.91% 0.1411 -0.1678)
OKLCHoklch(62.91% 0.219 310.1)
XYZxyz(36.1644, 21.8866, 79.3944)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156E9 #8EE956
analogous
#6856E9 #B156E9 #E956D7
triadic
#B156E9 #E9B156 #56E9B1
tetradic
#B156E9 #E96856 #8EE956 #56D7E9
square
#B156E9 #E96856 #8EE956 #56D7E9
split-complementary
#B156E9 #D7E956 #56E968
monochromatic
#7417AE #9820E2 #B156E9 #CA8CF0 #E3C2F7

Accessibility & contrast

On white

3.91
#B156E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#B156E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156E9
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156E9#FFFFFF#000000##000000
##B156E91.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#4382E6
Tritanopia (blue-blind)
#A97398
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b156e9;
/* rgb */ color: rgb(177, 86, 233);
/* oklch */ color: oklch(62.9% 0.219 310.1);
Tailwind
colors: {
  custom: {
    50: '#cc8bf1',
    500: '#b156e9',
    950: '#000000',
  },
}
SCSS
$custom: #b156e9;
$custom-light: #cc8bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b156e9",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 277.143,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.62907,
    "c": 0.21922,
    "h": 310.1
  },
  "luminance": 0.21886
}

Semantic roles & 50–950 ramp

primary
#B156E9
secondary
#C7E8B3
accent
#D90C5A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B156E9

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

Preview Lab → · Contrast checker → · Palette generator →

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