#B256B3#B256B3

#B256B3 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.0% C 0.167 H 327.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B256B3
RGBrgb(178, 86, 179)
HSLhsl(299, 38%, 52%)
HSVhsv(299, 52%, 70%)
CMYKcmyk(0.6%, 52%, 0%, 29.8%)
CIE-LABlab(51.13, 50.43, -33.03)
CIE-LCHlch(51.13, 60.29, 326.78°)
OKLaboklab(59.97% 0.1398 -0.0908)
OKLCHoklch(59.97% 0.167 327)
XYZxyz(29.8240, 19.3769, 44.8083)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256B3 #57B356
analogous
#8456B3 #B256B3 #B35686
triadic
#B256B3 #B3B256 #56B3B2
tetradic
#B256B3 #B38456 #57B356 #5686B3
square
#B256B3 #B38456 #57B356 #5686B3
split-complementary
#B256B3 #86B356 #56B384
monochromatic
#622C62 #8C3F8D #B256B3 #C580C6 #D8AAD9

Accessibility & contrast

On white

4.31
#B256B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B256B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256B3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256B3#FFFFFF#000000##000000
##B256B31.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B6
Deuteranopia (green-blind)
#697EB0
Tritanopia (blue-blind)
#B7607D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b256b3;
/* rgb */ color: rgb(178, 86, 179);
/* oklch */ color: oklch(60.0% 0.167 327.0);
Tailwind
colors: {
  custom: {
    50: '#cb8aca',
    500: '#b256b3',
    950: '#000000',
  },
}
SCSS
$custom: #b256b3;
$custom-light: #cb8aca;
$custom-dark: #000000;
JSON
{
  "hex": "#b256b3",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 179
  },
  "hsl": {
    "h": 299.355,
    "s": 37.959,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59965,
    "c": 0.16672,
    "h": 327
  },
  "luminance": 0.19375
}

Semantic roles & 50–950 ramp

primary
#B256B3
secondary
#9EC79E
accent
#CE5A5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B256B3

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

Preview Lab → · Contrast checker → · Palette generator →

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