#B256AC#B256AC

#B256AC is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.6% C 0.160 H 329.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B256AC
RGBrgb(178, 86, 172)
HSLhsl(304, 37%, 52%)
HSVhsv(304, 52%, 70%)
CMYKcmyk(0%, 51.7%, 3.4%, 30.2%)
CIE-LABlab(50.80, 49.17, -29.45)
CIE-LCHlch(50.80, 57.31, 329.08°)
OKLaboklab(59.62% 0.1387 -0.0805)
OKLCHoklch(59.62% 0.16 329.9)
XYZxyz(29.1340, 19.1009, 41.1740)
Luminance0.1910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256AC #56B25C
analogous
#8A56B2 #B256AC #B2567E
triadic
#B256AC #ACB256 #56ACB2
tetradic
#B256AC #B28A56 #56B25C #567EB2
square
#B256AC #B28A56 #56B25C #567EB2
split-complementary
#B256AC #7EB256 #56B28A
monochromatic
#612C5E #8B3F86 #B256AC #C580C1 #D8AAD5

Accessibility & contrast

On white

4.36
#B256AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B256AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256AC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256AC#FFFFFF#000000##000000
##B256AC1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5071AF
Deuteranopia (green-blind)
#6C7DA9
Tritanopia (blue-blind)
#B85E79
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b256ac;
/* rgb */ color: rgb(178, 86, 172);
/* oklch */ color: oklch(59.6% 0.160 329.9);
Tailwind
colors: {
  custom: {
    50: '#cb89c5',
    500: '#b256ac',
    950: '#000000',
  },
}
SCSS
$custom: #b256ac;
$custom-light: #cb89c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b256ac",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 303.913,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59624,
    "c": 0.16042,
    "h": 329.9
  },
  "luminance": 0.19099
}

Semantic roles & 50–950 ramp

primary
#B256AC
secondary
#9EC6A0
accent
#CD625A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B256AC

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

Preview Lab → · Contrast checker → · Palette generator →

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