#B256C8#B256C8

#B256C8 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.1% C 0.187 H 319.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B256C8
RGBrgb(178, 86, 200)
HSLhsl(288, 51%, 56%)
HSVhsv(288, 57%, 78%)
CMYKcmyk(11%, 57%, 0%, 21.6%)
CIE-LABlab(52.17, 54.42, -43.53)
CIE-LCHlch(52.17, 69.69, 321.35°)
OKLaboklab(61.07% 0.142 -0.1211)
OKLCHoklch(61.07% 0.187 319.5)
XYZxyz(32.1119, 20.2920, 56.8576)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256C8 #6CC856
analogous
#7956C8 #B256C8 #C856A5
triadic
#B256C8 #C8B256 #56C8B2
tetradic
#B256C8 #C87956 #6CC856 #56A5C8
square
#B256C8 #C87956 #6CC856 #56A5C8
split-complementary
#B256C8 #A5C856 #56C879
monochromatic
#6B287B #9437AA #B256C8 #C784D7 #DCB2E6

Accessibility & contrast

On white

4.15
#B256C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B256C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256C8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256C8#FFFFFF#000000##000000
##B256C81.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E76CC
Deuteranopia (green-blind)
#5E80C5
Tritanopia (blue-blind)
#B36787
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b256c8;
/* rgb */ color: rgb(178, 86, 200);
/* oklch */ color: oklch(61.1% 0.187 319.5);
Tailwind
colors: {
  custom: {
    50: '#cc8ad9',
    500: '#b256c8',
    950: '#000000',
  },
}
SCSS
$custom: #b256c8;
$custom-light: #cc8ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#b256c8",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 288.421,
    "s": 50.893,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61068,
    "c": 0.18667,
    "h": 319.5
  },
  "luminance": 0.20291
}

Semantic roles & 50–950 ramp

primary
#B256C8
secondary
#AED4A5
accent
#DA4D69
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C15
muted
#827D83

Preview Lab

Preview with #B256C8

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

Preview Lab → · Contrast checker → · Palette generator →

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