#B156CC#B156CC
#B156CC is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.2% C 0.190 H 317.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B156CC |
|---|---|
| RGB | rgb(177, 86, 204) |
| HSL | hsl(286, 54%, 57%) |
| HSV | hsv(286, 58%, 80%) |
| CMYK | cmyk(13.2%, 57.8%, 0%, 20%) |
| CIE-LAB | lab(52.25, 54.96, -45.70) |
| CIE-LCH | lch(52.25, 71.48, 320.26°) |
| OKLab | oklab(61.17% 0.141 -0.1275) |
| OKLCH | oklch(61.17% 0.19 317.9) |
| XYZ | xyz(32.3568, 20.3636, 59.3412) |
| Luminance | 0.2036 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 1.78
Amethyst
#9B5FC0
ΔE00 4.50
Lightish Purple
#A552E6
ΔE00 5.36
Pinky Purple
#C94CBE
ΔE00 5.76
Pinkish Purple
#D648D7
ΔE00 6.25
Purpley Pink
#C83CB9
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B156CC #71CC56
analogous
#7656CC #B156CC #CC56AC
triadic
#B156CC #CCB156 #56CCB1
tetradic
#B156CC #CC7656 #71CC56 #56ACCC
square
#B156CC #CC7656 #71CC56 #56ACCC
split-complementary
#B156CC #ACCC56 #56CC76
monochromatic
#6C2781 #9435B0 #B156CC #C785DA #DCB4E8
Accessibility & contrast
On white
4.14
#B156CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#B156CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B156CC
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B156CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B156CC | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3977D0
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#B16989
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #b156cc; /* rgb */ color: rgb(177, 86, 204); /* oklch */ color: oklch(61.2% 0.190 317.9);
Tailwind
colors: {
custom: {
50: '#cb8adc',
500: '#b156cc',
950: '#000000',
},
}SCSS
$custom: #b156cc; $custom-light: #cb8adc; $custom-dark: #000000;
JSON
{
"hex": "#b156cc",
"rgb": {
"r": 177,
"g": 86,
"b": 204
},
"hsl": {
"h": 286.271,
"s": 53.636,
"l": 56.863
},
"oklch": {
"l": 0.61167,
"c": 0.19013,
"h": 317.9
},
"luminance": 0.20362
}Semantic roles & 50–950 ramp
primary
#B156CC
secondary
#B2D7A7
accent
#DD4B6C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83