#B256D2#B256D2

#B256D2 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.6% C 0.197 H 316.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B256D2
RGBrgb(178, 86, 210)
HSLhsl(285, 58%, 58%)
HSVhsv(285, 59%, 82%)
CMYKcmyk(15.2%, 59%, 0%, 17.6%)
CIE-LABlab(52.70, 56.42, -48.39)
CIE-LCHlch(52.70, 74.33, 319.38°)
OKLaboklab(61.63% 0.1425 -0.1353)
OKLCHoklch(61.63% 0.197 316.5)
XYZxyz(33.3190, 20.7749, 63.2151)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256D2 #76D256
analogous
#7456D2 #B256D2 #D256B4
triadic
#B256D2 #D2B256 #56D2B2
tetradic
#B256D2 #D27456 #76D256 #56B4D2
square
#B256D2 #D27456 #76D256 #56B4D2
split-complementary
#B256D2 #B4D256 #56D274
monochromatic
#6F2589 #9631B9 #B256D2 #C886DF #DEB7EC

Accessibility & contrast

On white

4.07
#B256D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#B256D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256D2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256D2#FFFFFF#000000##000000
##B256D21.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3378D6
Deuteranopia (green-blind)
#5881CF
Tritanopia (blue-blind)
#B06B8C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b256d2;
/* rgb */ color: rgb(178, 86, 210);
/* oklch */ color: oklch(61.6% 0.197 316.5);
Tailwind
colors: {
  custom: {
    50: '#cc8ae0',
    500: '#b256d2',
    950: '#000000',
  },
}
SCSS
$custom: #b256d2;
$custom-light: #cc8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#b256d2",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 284.516,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61633,
    "c": 0.1965,
    "h": 316.5
  },
  "luminance": 0.20774
}

Semantic roles & 50–950 ramp

primary
#B256D2
secondary
#B6DBA9
accent
#E1476F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B256D2

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

Preview Lab → · Contrast checker → · Palette generator →

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