#B256CF#B256CF

#B256CF is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.5% C 0.194 H 317.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B256CF
RGBrgb(178, 86, 207)
HSLhsl(286, 56%, 57%)
HSVhsv(286, 58%, 81%)
CMYKcmyk(14%, 58.5%, 0%, 18.8%)
CIE-LABlab(52.54, 55.81, -46.94)
CIE-LCHlch(52.54, 72.93, 319.93°)
OKLaboklab(61.46% 0.1424 -0.1311)
OKLCHoklch(61.46% 0.194 317.4)
XYZxyz(32.9488, 20.6268, 61.2651)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B256CF #73CF56
analogous
#7656CF #B256CF #CF56AF
triadic
#B256CF #CFB256 #56CFB2
tetradic
#B256CF #CF7656 #73CF56 #56AFCF
square
#B256CF #CF7656 #73CF56 #56AFCF
split-complementary
#B256CF #AFCF56 #56CF76
monochromatic
#6E2685 #9633B5 #B256CF #C886DD #DDB5EA

Accessibility & contrast

On white

4.10
#B256CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#B256CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B256CF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B256CF#FFFFFF#000000##000000
##B256CF1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3777D3
Deuteranopia (green-blind)
#5A80CC
Tritanopia (blue-blind)
#B16A8A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b256cf;
/* rgb */ color: rgb(178, 86, 207);
/* oklch */ color: oklch(61.5% 0.194 317.4);
Tailwind
colors: {
  custom: {
    50: '#cc8ade',
    500: '#b256cf',
    950: '#000000',
  },
}
SCSS
$custom: #b256cf;
$custom-light: #cc8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#b256cf",
  "rgb": {
    "r": 178,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 285.62,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61461,
    "c": 0.19354,
    "h": 317.4
  },
  "luminance": 0.20626
}

Semantic roles & 50–950 ramp

primary
#B256CF
secondary
#B4D9A8
accent
#DF496D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B256CF

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

Preview Lab → · Contrast checker → · Palette generator →

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