#B256D9#B256D9

#B256D9 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.0% C 0.203 H 314.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#B256D9
RGBrgb(178, 86, 217)
HSLhsl(282, 63%, 59%)
HSVhsv(282, 60%, 85%)
CMYKcmyk(18%, 60.4%, 0%, 14.9%)
CIE-LABlab(53.09, 57.85, -51.75)
CIE-LCHlch(53.09, 77.62, 318.19°)
OKLaboklab(62.04% 0.1426 -0.1451)
OKLCHoklch(62.04% 0.203 314.5)
XYZxyz(34.2102, 21.1314, 67.9089)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256D9 #7DD956
analogous
#7056D9 #B256D9 #D956BF
triadic
#B256D9 #D9B256 #56D9B2
tetradic
#B256D9 #D97056 #7DD956 #56BFD9
square
#B256D9 #D97056 #7DD956 #56BFD9
split-complementary
#B256D9 #BFD956 #56D970
monochromatic
#712193 #982CC5 #B256D9 #C988E4 #E0BAEF

Accessibility & contrast

On white

4.02
#B256D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#B256D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256D9
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256D9#FFFFFF#000000##000000
##B256D91.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7ADD
Deuteranopia (green-blind)
#5381D6
Tritanopia (blue-blind)
#AF6D90
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b256d9;
/* rgb */ color: rgb(178, 86, 217);
/* oklch */ color: oklch(62.0% 0.203 314.5);
Tailwind
colors: {
  custom: {
    50: '#cc8ae5',
    500: '#b256d9',
    950: '#000000',
  },
}
SCSS
$custom: #b256d9;
$custom-light: #cc8ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#b256d9",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 217
  },
  "hsl": {
    "h": 282.137,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62043,
    "c": 0.20347,
    "h": 314.5
  },
  "luminance": 0.2113
}

Semantic roles & 50–950 ramp

primary
#B256D9
secondary
#BBDFAC
accent
#E64173
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B256D9

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

Preview Lab → · Contrast checker → · Palette generator →

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