#B256DF#B256DF

#B256DF is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.4% C 0.209 H 312.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B256DF
RGBrgb(178, 86, 223)
HSLhsl(280, 68%, 61%)
HSVhsv(280, 61%, 87%)
CMYKcmyk(20.2%, 61.4%, 0%, 12.5%)
CIE-LABlab(53.44, 59.10, -54.60)
CIE-LCHlch(53.44, 80.46, 317.27°)
OKLaboklab(62.4% 0.1426 -0.1535)
OKLCHoklch(62.4% 0.209 312.9)
XYZxyz(35.0048, 21.4492, 72.0939)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256DF #83DF56
analogous
#6D56DF #B256DF #DF56C7
triadic
#B256DF #DFB256 #56DFB2
tetradic
#B256DF #DF6D56 #83DF56 #56C7DF
square
#B256DF #DF6D56 #83DF56 #56C7DF
split-complementary
#B256DF #C7DF56 #56DF6D
monochromatic
#731E9D #9927D0 #B256DF #C989E9 #E1BDF2

Accessibility & contrast

On white

3.97
#B256DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#B256DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256DF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256DF#FFFFFF#000000##000000
##B256DF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#207BE3
Deuteranopia (green-blind)
#4E82DC
Tritanopia (blue-blind)
#AD7093
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b256df;
/* rgb */ color: rgb(178, 86, 223);
/* oklch */ color: oklch(62.4% 0.209 312.9);
Tailwind
colors: {
  custom: {
    50: '#cc8bea',
    500: '#b256df',
    950: '#000000',
  },
}
SCSS
$custom: #b256df;
$custom-light: #cc8bea;
$custom-dark: #000000;
JSON
{
  "hex": "#b256df",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 280.292,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62404,
    "c": 0.20948,
    "h": 312.9
  },
  "luminance": 0.21448
}

Semantic roles & 50–950 ramp

primary
#B256DF
secondary
#BFE2AE
accent
#D01553
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B256DF

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

Preview Lab → · Contrast checker → · Palette generator →

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