#B216CD#B216CD

#B216CD is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.9% C 0.257 H 320.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B216CD
RGBrgb(178, 22, 205)
HSLhsl(291, 81%, 45%)
HSVhsv(291, 89%, 80%)
CMYKcmyk(13.2%, 89.3%, 0%, 19.6%)
CIE-LABlab(44.87, 76.79, -58.08)
CIE-LCHlch(44.87, 96.28, 322.90°)
OKLaboklab(55.94% 0.1988 -0.1633)
OKLCHoklch(55.94% 0.257 320.6)
XYZxyz(29.6651, 14.4483, 58.9720)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B216CD #31CD16
analogous
#5716CD #B216CD #CD168C
triadic
#B216CD #CDB216 #16CDB2
tetradic
#B216CD #CD5716 #31CD16 #168CCD
square
#B216CD #CD5716 #31CD16 #168CCD
split-complementary
#B216CD #8CCD16 #16CD57
monochromatic
#520A5E #821096 #B216CD #CF37EA #DC6EEF

Accessibility & contrast

On white

5.40
#B216CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B216CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B216CD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B216CD#FFFFFF#000000##FFFFFF
##B216CD1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#316FC9
Tritanopia (blue-blind)
#B3477A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b216cd;
/* rgb */ color: rgb(178, 22, 205);
/* oklch */ color: oklch(55.9% 0.257 320.6);
Tailwind
colors: {
  custom: {
    50: '#ce6fdd',
    500: '#b216cd',
    950: '#000000',
  },
}
SCSS
$custom: #b216cd;
$custom-light: #ce6fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#b216cd",
  "rgb": {
    "r": 178,
    "g": 22,
    "b": 205
  },
  "hsl": {
    "h": 291.148,
    "s": 80.617,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55944,
    "c": 0.25723,
    "h": 320.6
  },
  "luminance": 0.14447
}

Semantic roles & 50–950 ramp

primary
#B216CD
secondary
#79D569
accent
#F7314E
background
#FDF7FD
surface
#FAEDFB
border
#D3C8D4
text
#140915
muted
#837B83

Preview Lab

Preview with #B216CD

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

Preview Lab → · Contrast checker → · Palette generator →

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