#B156E1#B156E1

#B156E1 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.4% C 0.211 H 312.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B156E1
RGBrgb(177, 86, 225)
HSLhsl(279, 70%, 61%)
HSVhsv(279, 62%, 88%)
CMYKcmyk(21.3%, 61.8%, 0%, 11.8%)
CIE-LABlab(53.43, 59.29, -55.75)
CIE-LCHlch(53.43, 81.38, 316.76°)
OKLaboklab(62.41% 0.1413 -0.1569)
OKLCHoklch(62.41% 0.211 312)
XYZxyz(35.0474, 21.4398, 73.5116)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156E1 #86E156
analogous
#6B56E1 #B156E1 #E156CB
triadic
#B156E1 #E1B156 #56E1B1
tetradic
#B156E1 #E16B56 #86E156 #56CBE1
square
#B156E1 #E16B56 #86E156 #56CBE1
split-complementary
#B156E1 #CBE156 #56E16B
monochromatic
#731CA0 #9826D4 #B156E1 #C98AEA #E1BEF3

Accessibility & contrast

On white

3.97
#B156E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#B156E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156E1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156E1#FFFFFF#000000##000000
##B156E11.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7BE5
Deuteranopia (green-blind)
#4B82DE
Tritanopia (blue-blind)
#AC7094
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b156e1;
/* rgb */ color: rgb(177, 86, 225);
/* oklch */ color: oklch(62.4% 0.211 312.0);
Tailwind
colors: {
  custom: {
    50: '#cc8beb',
    500: '#b156e1',
    950: '#000000',
  },
}
SCSS
$custom: #b156e1;
$custom-light: #cc8beb;
$custom-dark: #000000;
JSON
{
  "hex": "#b156e1",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 279.281,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.62407,
    "c": 0.21114,
    "h": 312
  },
  "luminance": 0.21439
}

Semantic roles & 50–950 ramp

primary
#B156E1
secondary
#C1E4AF
accent
#D21455
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B156E1

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

Preview Lab → · Contrast checker → · Palette generator →

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