#B156EF#B156EF

#B156EF is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.3% C 0.225 H 308.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B156EF
RGBrgb(177, 86, 239)
HSLhsl(276, 83%, 64%)
HSVhsv(276, 64%, 94%)
CMYKcmyk(25.9%, 64%, 0%, 6.3%)
CIE-LABlab(54.28, 62.29, -62.25)
CIE-LCHlch(54.28, 88.06, 315.02°)
OKLaboklab(63.29% 0.1407 -0.1759)
OKLCHoklch(63.29% 0.225 308.7)
XYZxyz(37.0361, 22.2353, 83.9854)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156EF #94EF56
analogous
#6456EF #B156EF #EF56E1
triadic
#B156EF #EFB156 #56EFB1
tetradic
#B156EF #EF6456 #94EF56 #56E1EF
square
#B156EF #EF6456 #94EF56 #56E1EF
split-complementary
#B156EF #E1EF56 #56EF64
monochromatic
#7512B9 #971EEA #B156EF #CB8EF4 #E5C6FA

Accessibility & contrast

On white

3.86
#B156EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#B156EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156EF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156EF#FFFFFF#000000##000000
##B156EF1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#3C83EC
Tritanopia (blue-blind)
#A8769B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b156ef;
/* rgb */ color: rgb(177, 86, 239);
/* oklch */ color: oklch(63.3% 0.225 308.7);
Tailwind
colors: {
  custom: {
    50: '#cd8bf5',
    500: '#b156ef',
    950: '#000000',
  },
}
SCSS
$custom: #b156ef;
$custom-light: #cd8bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b156ef",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 275.686,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63292,
    "c": 0.2253,
    "h": 308.7
  },
  "luminance": 0.22235
}

Semantic roles & 50–950 ramp

primary
#B156EF
secondary
#CBEBB5
accent
#DF065E
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#140C17
muted
#837D85

Preview Lab

Preview with #B156EF

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

Preview Lab → · Contrast checker → · Palette generator →

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