#B256BF#B256BF

#B256BF is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.6% C 0.178 H 322.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B256BF
RGBrgb(178, 86, 191)
HSLhsl(293, 45%, 54%)
HSVhsv(293, 55%, 75%)
CMYKcmyk(6.8%, 55%, 0%, 25.1%)
CIE-LABlab(51.71, 52.68, -39.07)
CIE-LCHlch(51.71, 65.59, 323.43°)
OKLaboklab(60.58% 0.1413 -0.1082)
OKLCHoklch(60.58% 0.178 322.5)
XYZxyz(31.0909, 19.8836, 51.4804)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256BF #63BF56
analogous
#7E56BF #B256BF #BF5698
triadic
#B256BF #BFB256 #56BFB2
tetradic
#B256BF #BF7E56 #63BF56 #5698BF
square
#B256BF #BF7E56 #63BF56 #5698BF
split-complementary
#B256BF #98BF56 #56BF7E
monochromatic
#682A70 #903B9D #B256BF #C682D0 #DAAFE1

Accessibility & contrast

On white

4.22
#B256BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B256BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256BF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256BF#FFFFFF#000000##000000
##B256BF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4574C2
Deuteranopia (green-blind)
#637FBC
Tritanopia (blue-blind)
#B46482
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b256bf;
/* rgb */ color: rgb(178, 86, 191);
/* oklch */ color: oklch(60.6% 0.178 322.5);
Tailwind
colors: {
  custom: {
    50: '#cb8ad3',
    500: '#b256bf',
    950: '#000000',
  },
}
SCSS
$custom: #b256bf;
$custom-light: #cb8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#b256bf",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 292.571,
    "s": 45.064,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60581,
    "c": 0.17796,
    "h": 322.5
  },
  "luminance": 0.19882
}

Semantic roles & 50–950 ramp

primary
#B256BF
secondary
#A8CFA2
accent
#D55363
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B256BF

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

Preview Lab → · Contrast checker → · Palette generator →

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