#B256CD#B256CD

#B256CD is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.3% C 0.192 H 318.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B256CD
RGBrgb(178, 86, 205)
HSLhsl(286, 54%, 57%)
HSVhsv(286, 58%, 80%)
CMYKcmyk(13.2%, 58%, 0%, 19.6%)
CIE-LABlab(52.43, 55.41, -45.97)
CIE-LCHlch(52.43, 72.00, 320.32°)
OKLaboklab(61.35% 0.1423 -0.1283)
OKLCHoklch(61.35% 0.192 318)
XYZxyz(32.7058, 20.5296, 59.9856)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256CD #71CD56
analogous
#7756CD #B256CD #CD56AC
triadic
#B256CD #CDB256 #56CDB2
tetradic
#B256CD #CD7756 #71CD56 #56ACCD
square
#B256CD #CD7756 #71CD56 #56ACCD
split-complementary
#B256CD #ACCD56 #56CD77
monochromatic
#6D2682 #9534B1 #B256CD #C885DB #DDB4E9

Accessibility & contrast

On white

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

On black

5.11
#B256CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256CD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256CD#FFFFFF#000000##000000
##B256CD1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3977D1
Deuteranopia (green-blind)
#5B80CA
Tritanopia (blue-blind)
#B26989
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b256cd;
/* rgb */ color: rgb(178, 86, 205);
/* oklch */ color: oklch(61.3% 0.192 318.0);
Tailwind
colors: {
  custom: {
    50: '#cc8add',
    500: '#b256cd',
    950: '#000000',
  },
}
SCSS
$custom: #b256cd;
$custom-light: #cc8add;
$custom-dark: #000000;
JSON
{
  "hex": "#b256cd",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 286.387,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61347,
    "c": 0.19156,
    "h": 318
  },
  "luminance": 0.20528
}

Semantic roles & 50–950 ramp

primary
#B256CD
secondary
#B2D8A7
accent
#DE4A6C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B256CD

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

Preview Lab → · Contrast checker → · Palette generator →

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