#B156EA#B156EA

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

Color values

HEX#B156EA
RGBrgb(177, 86, 234)
HSLhsl(277, 78%, 63%)
HSVhsv(277, 63%, 92%)
CMYKcmyk(24.4%, 63.2%, 0%, 8.2%)
CIE-LABlab(53.97, 61.21, -59.95)
CIE-LCHlch(53.97, 85.67, 315.59°)
OKLaboklab(62.97% 0.141 -0.1692)
OKLCHoklch(62.97% 0.22 309.8)
XYZxyz(36.3076, 21.9439, 80.1489)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156EA #8FEA56
analogous
#6756EA #B156EA #EA56D9
triadic
#B156EA #EAB156 #56EAB1
tetradic
#B156EA #EA6756 #8FEA56 #56D9EA
square
#B156EA #EA6756 #8FEA56 #56D9EA
split-complementary
#B156EA #D9EA56 #56EA67
monochromatic
#7416B0 #9820E3 #B156EA #CA8CF1 #E3C3F8

Accessibility & contrast

On white

3.90
#B156EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#B156EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156EA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156EA#FFFFFF#000000##000000
##B156EA1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#4282E7
Tritanopia (blue-blind)
#A97499
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b156ea;
/* rgb */ color: rgb(177, 86, 234);
/* oklch */ color: oklch(63.0% 0.220 309.8);
Tailwind
colors: {
  custom: {
    50: '#cc8bf1',
    500: '#b156ea',
    950: '#000000',
  },
}
SCSS
$custom: #b156ea;
$custom-light: #cc8bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b156ea",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 276.892,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62971,
    "c": 0.22024,
    "h": 309.8
  },
  "luminance": 0.21943
}

Semantic roles & 50–950 ramp

primary
#B156EA
secondary
#C8E9B3
accent
#DA0B5B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C17
muted
#837D85

Preview Lab

Preview with #B156EA

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

Preview Lab → · Contrast checker → · Palette generator →

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