#B256AF#B256AF

#B256AF is a mid, vivid purple. Relative luminance 0.192; OKLCH L 59.8% C 0.163 H 328.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B256AF
RGBrgb(178, 86, 175)
HSLhsl(302, 37%, 52%)
HSVhsv(302, 52%, 70%)
CMYKcmyk(0%, 51.7%, 1.7%, 30.2%)
CIE-LABlab(50.94, 49.71, -30.99)
CIE-LCHlch(50.94, 58.58, 328.06°)
OKLaboklab(59.77% 0.1392 -0.0849)
OKLCHoklch(59.77% 0.163 328.6)
XYZxyz(29.4254, 19.2174, 42.7086)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256AF #56B259
analogous
#8756B2 #B256AF #B25681
triadic
#B256AF #AFB256 #56AFB2
tetradic
#B256AF #B28756 #56B259 #5681B2
square
#B256AF #B28756 #56B259 #5681B2
split-complementary
#B256AF #81B256 #56B287
monochromatic
#612C60 #8B3F89 #B256AF #C580C3 #D8AAD7

Accessibility & contrast

On white

4.34
#B256AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B256AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256AF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256AF#FFFFFF#000000##000000
##B256AF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F71B2
Deuteranopia (green-blind)
#6B7EAC
Tritanopia (blue-blind)
#B75F7B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b256af;
/* rgb */ color: rgb(178, 86, 175);
/* oklch */ color: oklch(59.8% 0.163 328.6);
Tailwind
colors: {
  custom: {
    50: '#cb8ac7',
    500: '#b256af',
    950: '#000000',
  },
}
SCSS
$custom: #b256af;
$custom-light: #cb8ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#b256af",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 301.957,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59769,
    "c": 0.16309,
    "h": 328.6
  },
  "luminance": 0.19216
}

Semantic roles & 50–950 ramp

primary
#B256AF
secondary
#9EC69F
accent
#CD5E5A
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B256AF

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

Preview Lab → · Contrast checker → · Palette generator →

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