#B556BB#B556BB
#B556BB is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.8% C 0.176 H 325.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #B556BB |
|---|---|
| RGB | rgb(181, 86, 187) |
| HSL | hsl(296, 43%, 54%) |
| HSV | hsv(296, 54%, 73%) |
| CMYK | cmyk(3.2%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(51.91, 52.74, -36.41) |
| CIE-LCH | lch(51.91, 64.08, 325.38°) |
| OKLab | oklab(60.76% 0.1444 -0.1004) |
| OKLCH | oklch(60.76% 0.176 325.2) |
| XYZ | xyz(31.3528, 20.0689, 49.2263) |
| Luminance | 0.2007 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 3.60
Mediumorchid
#BA55D3
ΔE00 4.07
Purpley Pink
#C83CB9
ΔE00 4.70
Amethyst
#9B5FC0
ΔE00 5.85
Pinkish Purple
#D648D7
ΔE00 6.28
Soft Purple
#A66FB5
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B556BB #5CBB56
analogous
#8256BB #B556BB #BB568E
triadic
#B556BB #BBB556 #56BBB5
tetradic
#B556BB #BB8256 #5CBB56 #568EBB
square
#B556BB #BB8256 #5CBB56 #568EBB
split-complementary
#B556BB #8EBB56 #56BB82
monochromatic
#682B6B #923D97 #B556BB #C882CD #DBADDE
Accessibility & contrast
On white
4.19
#B556BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#B556BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B556BB
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B556BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B556BB | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4974BE
Deuteranopia (green-blind)
#6780B8
Tritanopia (blue-blind)
#B96380
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #b556bb; /* rgb */ color: rgb(181, 86, 187); /* oklch */ color: oklch(60.8% 0.176 325.2);
Tailwind
colors: {
custom: {
50: '#ce8ad0',
500: '#b556bb',
950: '#000000',
},
}SCSS
$custom: #b556bb; $custom-light: #ce8ad0; $custom-dark: #000000;
JSON
{
"hex": "#b556bb",
"rgb": {
"r": 181,
"g": 86,
"b": 187
},
"hsl": {
"h": 296.436,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.60755,
"c": 0.17586,
"h": 325.2
},
"luminance": 0.20067
}Semantic roles & 50–950 ramp
primary
#B556BB
secondary
#A3CCA1
accent
#D2555D
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82