#B256DE#B256DE

#B256DE is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.3% C 0.208 H 313.2°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B256DE
RGBrgb(178, 86, 222)
HSLhsl(281, 67%, 60%)
HSVhsv(281, 61%, 87%)
CMYKcmyk(19.8%, 61.3%, 0%, 12.9%)
CIE-LABlab(53.38, 58.89, -54.13)
CIE-LCHlch(53.38, 79.98, 317.41°)
OKLaboklab(62.34% 0.1426 -0.1521)
OKLCHoklch(62.34% 0.208 313.2)
XYZxyz(34.8704, 21.3955, 71.3859)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256DE #82DE56
analogous
#6E56DE #B256DE #DE56C6
triadic
#B256DE #DEB256 #56DEB2
tetradic
#B256DE #DE6E56 #82DE56 #56C6DE
square
#B256DE #DE6E56 #82DE56 #56C6DE
split-complementary
#B256DE #C6DE56 #56DE6E
monochromatic
#731E9B #9928CE #B256DE #C989E8 #E1BCF2

Accessibility & contrast

On white

3.98
#B256DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#B256DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256DE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256DE#FFFFFF#000000##000000
##B256DE1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#227BE2
Deuteranopia (green-blind)
#4E82DB
Tritanopia (blue-blind)
#AE6F92
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b256de;
/* rgb */ color: rgb(178, 86, 222);
/* oklch */ color: oklch(62.3% 0.208 313.2);
Tailwind
colors: {
  custom: {
    50: '#cc8be9',
    500: '#b256de',
    950: '#000000',
  },
}
SCSS
$custom: #b256de;
$custom-light: #cc8be9;
$custom-dark: #000000;
JSON
{
  "hex": "#b256de",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 222
  },
  "hsl": {
    "h": 280.588,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62343,
    "c": 0.20847,
    "h": 313.2
  },
  "luminance": 0.21394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B256DE

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

Preview Lab → · Contrast checker → · Palette generator →

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