#B156F5#B156F5

#B156F5 is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.7% C 0.231 H 307.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B156F5
RGBrgb(177, 86, 245)
HSLhsl(274, 89%, 65%)
HSVhsv(274, 65%, 96%)
CMYKcmyk(27.8%, 64.9%, 0%, 3.9%)
CIE-LABlab(54.65, 63.60, -64.99)
CIE-LCHlch(54.65, 90.93, 314.38°)
OKLaboklab(63.68% 0.1403 -0.184)
OKLCHoklch(63.68% 0.231 307.3)
XYZxyz(37.9372, 22.5957, 88.7314)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156F5 #9AF556
analogous
#6256F5 #B156F5 #F556E9
triadic
#B156F5 #F5B156 #56F5B1
tetradic
#B156F5 #F56256 #9AF556 #56E9F5
square
#B156F5 #F56256 #9AF556 #56E9F5
split-complementary
#B156F5 #E9F556 #56F562
monochromatic
#760CC5 #961CF2 #B156F5 #CC90F8 #E6CAFC

Accessibility & contrast

On white

3.81
#B156F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B156F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156F5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156F5#FFFFFF#000000##000000
##B156F51.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FA
Deuteranopia (green-blind)
#3384F1
Tritanopia (blue-blind)
#A6789E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b156f5;
/* rgb */ color: rgb(177, 86, 245);
/* oklch */ color: oklch(63.7% 0.231 307.3);
Tailwind
colors: {
  custom: {
    50: '#cd8bf9',
    500: '#b156f5',
    950: '#000000',
  },
}
SCSS
$custom: #b156f5;
$custom-light: #cd8bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b156f5",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 245
  },
  "hsl": {
    "h": 274.34,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.63684,
    "c": 0.23138,
    "h": 307.3
  },
  "luminance": 0.22595
}

Semantic roles & 50–950 ramp

primary
#B156F5
secondary
#CFEFB8
accent
#E50062
background
#FDF8FF
surface
#FAF0FF
border
#D3CBD7
text
#140C17
muted
#837D85

Preview Lab

Preview with #B156F5

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

Preview Lab → · Contrast checker → · Palette generator →

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