#B256AA#B256AA

#B256AA is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.5% C 0.159 H 330.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B256AA
RGBrgb(178, 86, 170)
HSLhsl(305, 37%, 52%)
HSVhsv(305, 52%, 70%)
CMYKcmyk(0%, 51.7%, 4.5%, 30.2%)
CIE-LABlab(50.72, 48.82, -28.41)
CIE-LCHlch(50.72, 56.49, 329.80°)
OKLaboklab(59.53% 0.1384 -0.0776)
OKLCHoklch(59.53% 0.159 330.7)
XYZxyz(28.9434, 19.0246, 40.1700)
Luminance0.1902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256AA #56B25E
analogous
#8C56B2 #B256AA #B2567C
triadic
#B256AA #AAB256 #56AAB2
tetradic
#B256AA #B28C56 #56B25E #567CB2
square
#B256AA #B28C56 #56B25E #567CB2
split-complementary
#B256AA #7CB256 #56B28C
monochromatic
#612C5D #8B3F85 #B256AA #C580BF #D8AAD4

Accessibility & contrast

On white

4.37
#B256AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B256AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256AA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256AA#FFFFFF#000000##000000
##B256AA1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5271AD
Deuteranopia (green-blind)
#6D7DA7
Tritanopia (blue-blind)
#B85E78
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b256aa;
/* rgb */ color: rgb(178, 86, 170);
/* oklch */ color: oklch(59.5% 0.159 330.7);
Tailwind
colors: {
  custom: {
    50: '#cb89c3',
    500: '#b256aa',
    950: '#000000',
  },
}
SCSS
$custom: #b256aa;
$custom-light: #cb89c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b256aa",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 170
  },
  "hsl": {
    "h": 305.217,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59529,
    "c": 0.15866,
    "h": 330.7
  },
  "luminance": 0.19023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B256AA

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

Preview Lab → · Contrast checker → · Palette generator →

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