#B256CA#B256CA

#B256CA is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.2% C 0.189 H 318.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B256CA
RGBrgb(178, 86, 202)
HSLhsl(288, 52%, 56%)
HSVhsv(288, 57%, 79%)
CMYKcmyk(11.9%, 57.4%, 0%, 20.8%)
CIE-LABlab(52.27, 54.82, -44.51)
CIE-LCHlch(52.27, 70.61, 320.93°)
OKLaboklab(61.18% 0.1421 -0.124)
OKLCHoklch(61.18% 0.189 318.9)
XYZxyz(32.3472, 20.3861, 58.0967)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256CA #6ECA56
analogous
#7856CA #B256CA #CA56A8
triadic
#B256CA #CAB256 #56CAB2
tetradic
#B256CA #CA7856 #6ECA56 #56A8CA
square
#B256CA #CA7856 #6ECA56 #56A8CA
split-complementary
#B256CA #A8CA56 #56CA78
monochromatic
#6C287E #9436AD #B256CA #C785D9 #DCB3E7

Accessibility & contrast

On white

4.14
#B256CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B256CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256CA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256CA#FFFFFF#000000##000000
##B256CA1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C76CE
Deuteranopia (green-blind)
#5D80C7
Tritanopia (blue-blind)
#B26888
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b256ca;
/* rgb */ color: rgb(178, 86, 202);
/* oklch */ color: oklch(61.2% 0.189 318.9);
Tailwind
colors: {
  custom: {
    50: '#cc8ada',
    500: '#b256ca',
    950: '#000000',
  },
}
SCSS
$custom: #b256ca;
$custom-light: #cc8ada;
$custom-dark: #000000;
JSON
{
  "hex": "#b256ca",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 287.586,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61179,
    "c": 0.18862,
    "h": 318.9
  },
  "luminance": 0.20385
}

Semantic roles & 50–950 ramp

primary
#B256CA
secondary
#B0D6A6
accent
#DC4C6A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B256CA

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

Preview Lab → · Contrast checker → · Palette generator →

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