#B156F1#B156F1

#B156F1 is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 63.4% C 0.227 H 308.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B156F1
RGBrgb(177, 86, 241)
HSLhsl(275, 85%, 64%)
HSVhsv(275, 64%, 95%)
CMYKcmyk(26.6%, 64.3%, 0%, 5.5%)
CIE-LABlab(54.40, 62.72, -63.17)
CIE-LCHlch(54.40, 89.02, 314.80°)
OKLaboklab(63.42% 0.1406 -0.1786)
OKLCHoklch(63.42% 0.227 308.2)
XYZxyz(37.3332, 22.3541, 85.5501)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156F1 #96F156
analogous
#6456F1 #B156F1 #F156E3
triadic
#B156F1 #F1B156 #56F1B1
tetradic
#B156F1 #F16456 #96F156 #56E3F1
square
#B156F1 #F16456 #96F156 #56E3F1
split-complementary
#B156F1 #E3F156 #56F164
monochromatic
#7510BD #971DEC #B156F1 #CB8FF6 #E5C7FA

Accessibility & contrast

On white

3.84
#B156F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#B156F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156F1
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156F1#FFFFFF#000000##000000
##B156F11.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF6
Deuteranopia (green-blind)
#3983EE
Tritanopia (blue-blind)
#A7769C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b156f1;
/* rgb */ color: rgb(177, 86, 241);
/* oklch */ color: oklch(63.4% 0.227 308.2);
Tailwind
colors: {
  custom: {
    50: '#cd8bf6',
    500: '#b156f1',
    950: '#000000',
  },
}
SCSS
$custom: #b156f1;
$custom-light: #cd8bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#b156f1",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 241
  },
  "hsl": {
    "h": 275.226,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63422,
    "c": 0.22732,
    "h": 308.2
  },
  "luminance": 0.22354
}

Semantic roles & 50–950 ramp

primary
#B156F1
secondary
#CDECB6
accent
#E10460
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B156F1

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

Preview Lab → · Contrast checker → · Palette generator →

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