#B256CE#B256CE

#B256CE is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.4% C 0.193 H 317.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B256CE
RGBrgb(178, 86, 206)
HSLhsl(286, 55%, 57%)
HSVhsv(286, 58%, 81%)
CMYKcmyk(13.6%, 58.3%, 0%, 19.2%)
CIE-LABlab(52.48, 55.61, -46.46)
CIE-LCHlch(52.48, 72.47, 320.13°)
OKLaboklab(61.4% 0.1423 -0.1297)
OKLCHoklch(61.4% 0.193 317.7)
XYZxyz(32.8269, 20.5780, 60.6233)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256CE #72CE56
analogous
#7656CE #B256CE #CE56AE
triadic
#B256CE #CEB256 #56CEB2
tetradic
#B256CE #CE7656 #72CE56 #56AECE
square
#B256CE #CE7656 #72CE56 #56AECE
split-complementary
#B256CE #AECE56 #56CE76
monochromatic
#6E2683 #9534B3 #B256CE #C885DC #DDB5EA

Accessibility & contrast

On white

4.11
#B256CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B256CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256CE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256CE#FFFFFF#000000##000000
##B256CE1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3877D2
Deuteranopia (green-blind)
#5A80CB
Tritanopia (blue-blind)
#B16A8A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b256ce;
/* rgb */ color: rgb(178, 86, 206);
/* oklch */ color: oklch(61.4% 0.193 317.7);
Tailwind
colors: {
  custom: {
    50: '#cc8add',
    500: '#b256ce',
    950: '#000000',
  },
}
SCSS
$custom: #b256ce;
$custom-light: #cc8add;
$custom-dark: #000000;
JSON
{
  "hex": "#b256ce",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 286,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61404,
    "c": 0.19256,
    "h": 317.7
  },
  "luminance": 0.20577
}

Semantic roles & 50–950 ramp

primary
#B256CE
secondary
#B3D8A8
accent
#DE496C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B256CE

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

Preview Lab → · Contrast checker → · Palette generator →

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