#B156F0#B156F0

#B156F0 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.4% C 0.226 H 308.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B156F0
RGBrgb(177, 86, 240)
HSLhsl(275, 84%, 64%)
HSVhsv(275, 64%, 94%)
CMYKcmyk(26.3%, 64.2%, 0%, 5.9%)
CIE-LABlab(54.34, 62.51, -62.71)
CIE-LCHlch(54.34, 88.54, 314.91°)
OKLaboklab(63.36% 0.1407 -0.1773)
OKLCHoklch(63.36% 0.226 308.4)
XYZxyz(37.1842, 22.2945, 84.7656)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156F0 #95F056
analogous
#6456F0 #B156F0 #F056E2
triadic
#B156F0 #F0B156 #56F0B1
tetradic
#B156F0 #F06456 #95F056 #56E2F0
square
#B156F0 #F06456 #95F056 #56E2F0
split-complementary
#B156F0 #E2F056 #56F064
monochromatic
#7511BB #971EEB #B156F0 #CB8EF5 #E5C6FA

Accessibility & contrast

On white

3.85
#B156F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#B156F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156F0
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156F0#FFFFFF#000000##000000
##B156F01.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF5
Deuteranopia (green-blind)
#3A83ED
Tritanopia (blue-blind)
#A8769C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b156f0;
/* rgb */ color: rgb(177, 86, 240);
/* oklch */ color: oklch(63.4% 0.226 308.4);
Tailwind
colors: {
  custom: {
    50: '#cd8bf6',
    500: '#b156f0',
    950: '#000000',
  },
}
SCSS
$custom: #b156f0;
$custom-light: #cd8bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b156f0",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 240
  },
  "hsl": {
    "h": 275.455,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63357,
    "c": 0.22631,
    "h": 308.4
  },
  "luminance": 0.22294
}

Semantic roles & 50–950 ramp

primary
#B156F0
secondary
#CCECB6
accent
#E0055F
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B156F0

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

Preview Lab → · Contrast checker → · Palette generator →

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