#B156DB#B156DB

#B156DB is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.0% C 0.205 H 313.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B156DB
RGBrgb(177, 86, 219)
HSLhsl(281, 65%, 60%)
HSVhsv(281, 61%, 86%)
CMYKcmyk(19.2%, 60.7%, 0%, 14.1%)
CIE-LABlab(53.08, 58.03, -52.92)
CIE-LCHlch(53.08, 78.53, 317.64°)
OKLaboklab(62.04% 0.1414 -0.1486)
OKLCHoklch(62.04% 0.205 313.6)
XYZxyz(34.2433, 21.1182, 69.2765)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B156DB #80DB56
analogous
#6F56DB #B156DB #DB56C2
triadic
#B156DB #DBB156 #56DBB1
tetradic
#B156DB #DB6F56 #80DB56 #56C2DB
square
#B156DB #DB6F56 #80DB56 #56C2DB
split-complementary
#B156DB #C2DB56 #56DB6F
monochromatic
#712097 #972BC9 #B156DB #C888E6 #E0BBF0

Accessibility & contrast

On white

4.02
#B156DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#B156DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B156DB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B156DB#FFFFFF#000000##000000
##B156DB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#267ADF
Deuteranopia (green-blind)
#5081D8
Tritanopia (blue-blind)
#AD6E91
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b156db;
/* rgb */ color: rgb(177, 86, 219);
/* oklch */ color: oklch(62.0% 0.205 313.6);
Tailwind
colors: {
  custom: {
    50: '#cc8ae7',
    500: '#b156db',
    950: '#000000',
  },
}
SCSS
$custom: #b156db;
$custom-light: #cc8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#b156db",
  "rgb": {
    "r": 177,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 281.053,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62042,
    "c": 0.2051,
    "h": 313.6
  },
  "luminance": 0.21117
}

Semantic roles & 50–950 ramp

primary
#B156DB
secondary
#BDE0AD
accent
#E84075
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B156DB

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

Preview Lab → · Contrast checker → · Palette generator →

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