#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 |
|---|---|
| RGB | rgb(178, 22, 205) |
| HSL | hsl(291, 81%, 45%) |
| HSV | hsv(291, 89%, 80%) |
| CMYK | cmyk(13.2%, 89.3%, 0%, 19.6%) |
| CIE-LAB | lab(44.87, 76.79, -58.08) |
| CIE-LCH | lch(44.87, 96.28, 322.90°) |
| OKLab | oklab(55.94% 0.1988 -0.1633) |
| OKLCH | oklch(55.94% 0.257 320.6) |
| XYZ | xyz(29.6651, 14.4483, 58.9720) |
| Luminance | 0.1445 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Vibrant Purple
#AD03DE
ΔE00 2.79
Barney
#AC1DB8
ΔE00 3.11
Darkorchid
#9932CC
ΔE00 4.23
Purply
#983FB2
ΔE00 5.75
Violet (survey)
#9A0EEA
ΔE00 6.19
Darkviolet
#9400D3
ΔE00 6.36
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 |
|---|---|---|---|---|
| ##B216CD | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.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