#B156DF#B156DF

#B156DF is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.3% C 0.209 H 312.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B156DF
RGBrgb(177, 86, 223)
HSLhsl(280, 68%, 61%)
HSVhsv(280, 61%, 87%)
CMYKcmyk(20.6%, 61.4%, 0%, 12.5%)
CIE-LABlab(53.31, 58.87, -54.81)
CIE-LCHlch(53.31, 80.43, 317.04°)
OKLaboklab(62.29% 0.1414 -0.1541)
OKLCHoklch(62.29% 0.209 312.5)
XYZxyz(34.7762, 21.3313, 72.0831)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156DF #84DF56
analogous
#6C56DF #B156DF #DF56C8
triadic
#B156DF #DFB156 #56DFB1
tetradic
#B156DF #DF6C56 #84DF56 #56C8DF
square
#B156DF #DF6C56 #84DF56 #56C8DF
split-complementary
#B156DF #C8DF56 #56DF6C
monochromatic
#721E9D #9827D0 #B156DF #C989E9 #E0BDF2

Accessibility & contrast

On white

3.99
#B156DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#B156DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156DF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156DF#FFFFFF#000000##000000
##B156DF1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7BE3
Deuteranopia (green-blind)
#4D81DC
Tritanopia (blue-blind)
#AC7093
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b156df;
/* rgb */ color: rgb(177, 86, 223);
/* oklch */ color: oklch(62.3% 0.209 312.5);
Tailwind
colors: {
  custom: {
    50: '#cc8bea',
    500: '#b156df',
    950: '#000000',
  },
}
SCSS
$custom: #b156df;
$custom-light: #cc8bea;
$custom-dark: #000000;
JSON
{
  "hex": "#b156df",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 279.854,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62285,
    "c": 0.20912,
    "h": 312.5
  },
  "luminance": 0.2133
}

Semantic roles & 50–950 ramp

primary
#B156DF
secondary
#C0E2AE
accent
#D01554
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B156DF

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

Preview Lab → · Contrast checker → · Palette generator →

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