#B256BD#B256BD

#B256BD is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.5% C 0.176 H 323.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B256BD
RGBrgb(178, 86, 189)
HSLhsl(294, 44%, 54%)
HSVhsv(294, 54%, 74%)
CMYKcmyk(5.8%, 54.5%, 0%, 25.9%)
CIE-LABlab(51.61, 52.30, -38.08)
CIE-LCHlch(51.61, 64.69, 323.94°)
OKLaboklab(60.48% 0.1411 -0.1053)
OKLCHoklch(60.48% 0.176 323.3)
XYZxyz(30.8723, 19.7962, 50.3291)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256BD #61BD56
analogous
#7F56BD #B256BD #BD5695
triadic
#B256BD #BDB256 #56BDB2
tetradic
#B256BD #BD7F56 #61BD56 #5695BD
square
#B256BD #BD7F56 #61BD56 #5695BD
split-complementary
#B256BD #95BD56 #56BD7F
monochromatic
#672B6E #903C9A #B256BD #C682CE #DAAEDF

Accessibility & contrast

On white

4.23
#B256BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B256BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256BD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256BD#FFFFFF#000000##000000
##B256BD1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4674C0
Deuteranopia (green-blind)
#647FBA
Tritanopia (blue-blind)
#B56481
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b256bd;
/* rgb */ color: rgb(178, 86, 189);
/* oklch */ color: oklch(60.5% 0.176 323.3);
Tailwind
colors: {
  custom: {
    50: '#cb8ad1',
    500: '#b256bd',
    950: '#000000',
  },
}
SCSS
$custom: #b256bd;
$custom-light: #cb8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#b256bd",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 293.592,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60475,
    "c": 0.17606,
    "h": 323.3
  },
  "luminance": 0.19795
}

Semantic roles & 50–950 ramp

primary
#B256BD
secondary
#A6CDA1
accent
#D45462
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B256BD

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

Preview Lab → · Contrast checker → · Palette generator →

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