#B256DB#B256DB

#B256DB is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.2% C 0.205 H 314.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B256DB
RGBrgb(178, 86, 219)
HSLhsl(282, 65%, 60%)
HSVhsv(282, 61%, 86%)
CMYKcmyk(18.7%, 60.7%, 0%, 14.1%)
CIE-LABlab(53.21, 58.26, -52.70)
CIE-LCHlch(53.21, 78.57, 317.87°)
OKLaboklab(62.16% 0.1426 -0.1479)
OKLCHoklch(62.16% 0.205 314)
XYZxyz(34.4719, 21.2361, 69.2872)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256DB #7FDB56
analogous
#7056DB #B256DB #DB56C1
triadic
#B256DB #DBB256 #56DBB2
tetradic
#B256DB #DB7056 #7FDB56 #56C1DB
square
#B256DB #DB7056 #7FDB56 #56C1DB
split-complementary
#B256DB #C1DB56 #56DB70
monochromatic
#722097 #982BC9 #B256DB #C988E6 #E0BBF0

Accessibility & contrast

On white

4.00
#B256DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#B256DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256DB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256DB#FFFFFF#000000##000000
##B256DB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#277ADF
Deuteranopia (green-blind)
#5181D8
Tritanopia (blue-blind)
#AE6E91
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b256db;
/* rgb */ color: rgb(178, 86, 219);
/* oklch */ color: oklch(62.2% 0.205 314.0);
Tailwind
colors: {
  custom: {
    50: '#cc8be7',
    500: '#b256db',
    950: '#000000',
  },
}
SCSS
$custom: #b256db;
$custom-light: #cc8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#b256db",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 281.504,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.62163,
    "c": 0.20547,
    "h": 314
  },
  "luminance": 0.21235
}

Semantic roles & 50–950 ramp

primary
#B256DB
secondary
#BDE0AD
accent
#E84074
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B256DB

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

Preview Lab → · Contrast checker → · Palette generator →

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