#B116CD#B116CD
#B116CD is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.8% C 0.257 H 320.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #B116CD |
|---|---|
| RGB | rgb(177, 22, 205) |
| HSL | hsl(291, 81%, 45%) |
| HSV | hsv(291, 89%, 80%) |
| CMYK | cmyk(13.7%, 89.3%, 0%, 19.6%) |
| CIE-LAB | lab(44.70, 76.64, -58.36) |
| CIE-LCH | lch(44.70, 96.33, 322.71°) |
| OKLab | oklab(55.8% 0.1976 -0.1641) |
| OKLCH | oklch(55.8% 0.257 320.3) |
| XYZ | xyz(29.4365, 14.3303, 58.9613) |
| Luminance | 0.1433 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Vibrant Purple
#AD03DE
ΔE00 2.68
Barney
#AC1DB8
ΔE00 3.09
Darkorchid
#9932CC
ΔE00 4.07
Purply
#983FB2
ΔE00 5.70
Violet (survey)
#9A0EEA
ΔE00 6.04
Darkviolet
#9400D3
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B116CD #32CD16
analogous
#5616CD #B116CD #CD168D
triadic
#B116CD #CDB116 #16CDB1
tetradic
#B116CD #CD5616 #32CD16 #168DCD
square
#B116CD #CD5616 #32CD16 #168DCD
split-complementary
#B116CD #8DCD16 #16CD56
monochromatic
#520A5E #811096 #B116CD #CE37EA #DC6EEF
Accessibility & contrast
On white
5.43
#B116CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#B116CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B116CD
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B116CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B116CD | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#306FC9
Tritanopia (blue-blind)
#B1477A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #b116cd; /* rgb */ color: rgb(177, 22, 205); /* oklch */ color: oklch(55.8% 0.257 320.3);
Tailwind
colors: {
custom: {
50: '#cd6fdd',
500: '#b116cd',
950: '#000000',
},
}SCSS
$custom: #b116cd; $custom-light: #cd6fdd; $custom-dark: #000000;
JSON
{
"hex": "#b116cd",
"rgb": {
"r": 177,
"g": 22,
"b": 205
},
"hsl": {
"h": 290.82,
"s": 80.617,
"l": 44.51
},
"oklch": {
"l": 0.55797,
"c": 0.2569,
"h": 320.3
},
"luminance": 0.14329
}Semantic roles & 50–950 ramp
primary
#B116CD
secondary
#7AD569
accent
#F7314F
background
#FDF7FD
surface
#FAEDFB
border
#D3C8D4
text
#140915
muted
#837B83