#B256BC#B256BC

#B256BC is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.4% C 0.175 H 323.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B256BC
RGBrgb(178, 86, 188)
HSLhsl(294, 43%, 54%)
HSVhsv(294, 54%, 74%)
CMYKcmyk(5.3%, 54.3%, 0%, 26.3%)
CIE-LABlab(51.56, 52.11, -37.58)
CIE-LCHlch(51.56, 64.24, 324.20°)
OKLaboklab(60.42% 0.141 -0.1039)
OKLCHoklch(60.42% 0.175 323.6)
XYZxyz(30.7641, 19.7529, 49.7594)
Luminance0.1975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256BC #60BC56
analogous
#7F56BC #B256BC #BC5693
triadic
#B256BC #BCB256 #56BCB2
tetradic
#B256BC #BC7F56 #60BC56 #5693BC
square
#B256BC #BC7F56 #60BC56 #5693BC
split-complementary
#B256BC #93BC56 #56BC7F
monochromatic
#662B6D #8F3C98 #B256BC #C682CD #DAAEDF

Accessibility & contrast

On white

4.24
#B256BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#B256BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256BC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256BC#FFFFFF#000000##000000
##B256BC1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4774BF
Deuteranopia (green-blind)
#657FB9
Tritanopia (blue-blind)
#B56381
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b256bc;
/* rgb */ color: rgb(178, 86, 188);
/* oklch */ color: oklch(60.4% 0.175 323.6);
Tailwind
colors: {
  custom: {
    50: '#cb8ad0',
    500: '#b256bc',
    950: '#000000',
  },
}
SCSS
$custom: #b256bc;
$custom-light: #cb8ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#b256bc",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 294.118,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60423,
    "c": 0.17511,
    "h": 323.6
  },
  "luminance": 0.19751
}

Semantic roles & 50–950 ramp

primary
#B256BC
secondary
#A5CDA1
accent
#D35561
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B256BC

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

Preview Lab → · Contrast checker → · Palette generator →

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