#B256BE#B256BE

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

Color values

HEX#B256BE
RGBrgb(178, 86, 190)
HSLhsl(293, 44%, 54%)
HSVhsv(293, 55%, 75%)
CMYKcmyk(6.3%, 54.7%, 0%, 25.5%)
CIE-LABlab(51.66, 52.49, -38.58)
CIE-LCHlch(51.66, 65.14, 323.68°)
OKLaboklab(60.53% 0.1412 -0.1068)
OKLCHoklch(60.53% 0.177 322.9)
XYZxyz(30.9812, 19.8398, 50.9028)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256BE #62BE56
analogous
#7E56BE #B256BE #BE5696
triadic
#B256BE #BEB256 #56BEB2
tetradic
#B256BE #BE7E56 #62BE56 #5696BE
square
#B256BE #BE7E56 #62BE56 #5696BE
split-complementary
#B256BE #96BE56 #56BE7E
monochromatic
#672B6F #903C9B #B256BE #C682CF #DAAEE0

Accessibility & contrast

On white

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

On black

4.97
#B256BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256BE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256BE#FFFFFF#000000##000000
##B256BE1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4574C1
Deuteranopia (green-blind)
#647FBB
Tritanopia (blue-blind)
#B56482
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b256be;
/* rgb */ color: rgb(178, 86, 190);
/* oklch */ color: oklch(60.5% 0.177 322.9);
Tailwind
colors: {
  custom: {
    50: '#cb8ad2',
    500: '#b256be',
    950: '#000000',
  },
}
SCSS
$custom: #b256be;
$custom-light: #cb8ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#b256be",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 293.077,
    "s": 44.444,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60528,
    "c": 0.17701,
    "h": 322.9
  },
  "luminance": 0.19838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B256BE

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

Preview Lab → · Contrast checker → · Palette generator →

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