#B256AB#B256AB

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

Color values

HEX#B256AB
RGBrgb(178, 86, 171)
HSLhsl(305, 37%, 52%)
HSVhsv(305, 52%, 70%)
CMYKcmyk(0%, 51.7%, 3.9%, 30.2%)
CIE-LABlab(50.76, 48.99, -28.93)
CIE-LCHlch(50.76, 56.90, 329.44°)
OKLaboklab(59.58% 0.1386 -0.0791)
OKLCHoklch(59.58% 0.16 330.3)
XYZxyz(29.0383, 19.0626, 40.6701)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256AB #56B25D
analogous
#8B56B2 #B256AB #B2567D
triadic
#B256AB #ABB256 #56ABB2
tetradic
#B256AB #B28B56 #56B25D #567DB2
square
#B256AB #B28B56 #56B25D #567DB2
split-complementary
#B256AB #7DB256 #56B28B
monochromatic
#612C5D #8B3F86 #B256AB #C580C0 #D8AAD5

Accessibility & contrast

On white

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

On black

4.81
#B256AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256AB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256AB#FFFFFF#000000##000000
##B256AB1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5171AE
Deuteranopia (green-blind)
#6C7DA8
Tritanopia (blue-blind)
#B85E79
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b256ab;
/* rgb */ color: rgb(178, 86, 171);
/* oklch */ color: oklch(59.6% 0.160 330.3);
Tailwind
colors: {
  custom: {
    50: '#cb89c4',
    500: '#b256ab',
    950: '#000000',
  },
}
SCSS
$custom: #b256ab;
$custom-light: #cb89c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b256ab",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 171
  },
  "hsl": {
    "h": 304.565,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59576,
    "c": 0.15953,
    "h": 330.3
  },
  "luminance": 0.19061
}

Semantic roles & 50–950 ramp

primary
#B256AB
secondary
#9EC6A1
accent
#CD635A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C12
muted
#827D81

Preview Lab

Preview with #B256AB

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

Preview Lab → · Contrast checker → · Palette generator →

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