#B256CC#B256CC

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

Color values

HEX#B256CC
RGBrgb(178, 86, 204)
HSLhsl(287, 54%, 57%)
HSVhsv(287, 58%, 80%)
CMYKcmyk(12.7%, 57.8%, 0%, 20%)
CIE-LABlab(52.38, 55.21, -45.48)
CIE-LCHlch(52.38, 71.54, 320.52°)
OKLaboklab(61.29% 0.1422 -0.1268)
OKLCHoklch(61.29% 0.191 318.3)
XYZxyz(32.5855, 20.4815, 59.3519)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256CC #70CC56
analogous
#7756CC #B256CC #CC56AB
triadic
#B256CC #CCB256 #56CCB2
tetradic
#B256CC #CC7756 #70CC56 #56ABCC
square
#B256CC #CC7756 #70CC56 #56ABCC
split-complementary
#B256CC #ABCC56 #56CC77
monochromatic
#6D2781 #9535B0 #B256CC #C785DA #DDB4E8

Accessibility & contrast

On white

4.12
#B256CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B256CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256CC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256CC#FFFFFF#000000##000000
##B256CC1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A77D0
Deuteranopia (green-blind)
#5C80C9
Tritanopia (blue-blind)
#B26989
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b256cc;
/* rgb */ color: rgb(178, 86, 204);
/* oklch */ color: oklch(61.3% 0.191 318.3);
Tailwind
colors: {
  custom: {
    50: '#cc8adc',
    500: '#b256cc',
    950: '#000000',
  },
}
SCSS
$custom: #b256cc;
$custom-light: #cc8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#b256cc",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 286.78,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61291,
    "c": 0.19058,
    "h": 318.3
  },
  "luminance": 0.2048
}

Semantic roles & 50–950 ramp

primary
#B256CC
secondary
#B1D7A7
accent
#DD4B6B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B256CC

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

Preview Lab → · Contrast checker → · Palette generator →

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